String name = (String) getDependency();
if (name == null || name.trim().length() == 0)
throw new IllegalArgumentException("Null or empty dependency.");
KernelControllerContext context = visitor.getControllerContext();
DependencyItem item = new LifecycleDependencyItem(context.getName(), dependency, ControllerState.CREATE);
visitor.addDependency(item);
item = new LifecycleDependencyItem(context.getName(), dependency, ControllerState.START);
visitor.addDependency(item);
visitor.initialVisit(this);