public static class CreateDestroyLifecycleAction extends LifecycleAction
{
public String getInstallMethod(KernelControllerContext context)
{
BeanMetaData metaData = context.getBeanMetaData();
LifecycleMetaData lifecycle = metaData.getCreate();
if (lifecycle != null)
return lifecycle.getMethodName();
return "create";
}