projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some shell creators.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
SoneShell.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/SoneShell.java
b/src/main/java/net/pterodactylus/sone/data/SoneShell.java
index
50b1189
..
49059c7
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/SoneShell.java
+++ b/
src/main/java/net/pterodactylus/sone/data/SoneShell.java
@@
-33,6
+33,15
@@
import freenet.keys.FreenetURI;
*/
public class SoneShell extends Sone implements Shell<Sone> {
*/
public class SoneShell extends Sone implements Shell<Sone> {
+ /** The shell creator. */
+ public static final ShellCreator<Sone> creator = new ShellCreator<Sone>() {
+
+ @Override
+ public Shell<Sone> createShell() {
+ return new SoneShell();
+ }
+ };
+
/** A GUID for this Sone. */
private UUID id;
/** A GUID for this Sone. */
private UUID id;