@Override public void initialize(final Module module) throws MethodCallException { final Object delegateObject = module.getDelegateObject(); if (initializerRef == null) { initializerRef = new MethodRef(delegateObject.getClass(), getInitializer()); } initializerRef.execute(module.getDelegateObject()); }
@Override public void initialize(final Module module) throws MethodCallException { final Object delegateObject = module.getDelegateObject(); if (initializerRef == null) { initializerRef = new MethodRef(delegateObject.getClass(), getInitializer()); } initializerRef.execute(module.getDelegateObject()); }
public DefaultMutableModuleItem(final ModuleInfo info, final String name, final Class<T> type) { super(info); this.name = name; this.type = type; genericType = type; ioType = super.getIOType(); visibility = super.getVisibility(); required = super.isRequired(); persisted = super.isPersisted(); persistKey = super.getPersistKey(); initializer = super.getInitializer(); validater = super.getValidater(); callback = super.getCallback(); widgetStyle = super.getWidgetStyle(); minimumValue = super.getMinimumValue(); maximumValue = super.getMaximumValue(); stepSize = super.getStepSize(); columnCount = super.getColumnCount(); final List<T> superChoices = super.getChoices(); if (superChoices != null) choices.addAll(superChoices); label = super.getLabel(); description = super.getDescription(); }
public DefaultMutableModuleItem(final ModuleInfo info, final String name, final Class<T> type) { super(info); this.name = name; this.type = type; genericType = type; ioType = super.getIOType(); visibility = super.getVisibility(); required = super.isRequired(); persisted = super.isPersisted(); persistKey = super.getPersistKey(); initializer = super.getInitializer(); validater = super.getValidater(); callback = super.getCallback(); widgetStyle = super.getWidgetStyle(); minimumValue = super.getMinimumValue(); maximumValue = super.getMaximumValue(); stepSize = super.getStepSize(); columnCount = super.getColumnCount(); final List<T> superChoices = super.getChoices(); if (superChoices != null) choices.addAll(superChoices); label = super.getLabel(); description = super.getDescription(); }