package foundation.action;
|
|
import foundation.dao.preload.Bucket;
|
|
public class ActionBucket extends Bucket<ActionMeta> {
|
|
private static ActionBucket instance;
|
|
static {
|
instance = newInstance();
|
}
|
|
private ActionBucket() {
|
|
}
|
|
public static synchronized ActionBucket getInstance() {
|
if (instance == null) {
|
instance = new ActionBucket();
|
}
|
|
return instance;
|
}
|
|
public static ActionBucket newInstance() {
|
return new ActionBucket();
|
}
|
|
public void activate() {
|
instance = this;
|
}
|
|
}
|