@Override protected ILifecycle createLifecycle() {
ClassMethod method = ClassCache.getFor(pojoContainer.getClass()).getMethod(Lifecycle.class);
if (method != null) {
return (ILifecycle) method.invoke(pojoContainer);
} else {
return new LifecyclePojo(pojoContainer);
}
}