public TimerServiceResourceDefinition(final PathManager pathManager) { super(EJB3SubsystemModel.TIMER_SERVICE_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.TIMER_SERVICE), TimerServiceAdd.INSTANCE, ReloadRequiredRemoveStepHandler.INSTANCE, OperationEntry.Flag.RESTART_ALL_SERVICES, OperationEntry.Flag.RESTART_ALL_SERVICES); this.pathManager = pathManager; }
private EJB3IIOPResourceDefinition() { super(EJB3SubsystemModel.IIOP_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.IIOP), EJB3IIOPAdd.INSTANCE, ReloadRequiredRemoveStepHandler.INSTANCE); }
TimerServiceResourceDefinition(AbstractEJBComponentRuntimeHandler<T> parentHandler) { super(EJB3SubsystemModel.TIMER_SERVICE_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.TIMER_SERVICE), null, null,OperationEntry.Flag.RESTART_NONE, OperationEntry.Flag.RESTART_RESOURCE_SERVICES); this.parentHandler = parentHandler; }
private EJB3AsyncResourceDefinition() { super(EJB3SubsystemModel.ASYNC_SERVICE_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.ASYNC), EJB3AsyncServiceAdd.INSTANCE, ReloadRequiredRemoveStepHandler.INSTANCE); }
private DatabaseDataStoreResourceDefinition() { super(EJB3SubsystemModel.DATABASE_DATA_STORE_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.DATABASE_DATA_STORE), DatabaseDataStoreAdd.INSTANCE, new ServiceRemoveStepHandler(TimerPersistence.SERVICE_NAME, DatabaseDataStoreAdd.INSTANCE)); }
private CacheFactoryResourceDefinition() { super(PathElement.pathElement(EJB3SubsystemModel.CACHE), EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.CACHE), ADD_HANDLER, REMOVE_HANDLER, OperationEntry.Flag.RESTART_NONE, OperationEntry.Flag.RESTART_RESOURCE_SERVICES); }
public FileDataStoreResourceDefinition(final PathManager pathManager) { super(EJB3SubsystemModel.FILE_DATA_STORE_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.FILE_DATA_STORE), FileDataStoreAdd.INSTANCE, new ServiceRemoveStepHandler(TimerPersistence.SERVICE_NAME, FileDataStoreAdd.INSTANCE), OperationEntry.Flag.RESTART_ALL_SERVICES, OperationEntry.Flag.RESTART_ALL_SERVICES); this.pathManager = pathManager; }
private RemotingProfileResourceDefinition() { super(PathElement.pathElement(EJB3SubsystemModel.REMOTING_PROFILE), EJB3Extension .getResourceDescriptionResolver(EJB3SubsystemModel.REMOTING_PROFILE), RemotingProfileAdd.INSTANCE, RemotingProfileRemove.INSTANCE); }
private StrictMaxPoolResourceDefinition() { super(PathElement.pathElement(EJB3SubsystemModel.STRICT_MAX_BEAN_INSTANCE_POOL), EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.STRICT_MAX_BEAN_INSTANCE_POOL), StrictMaxPoolAdd.INSTANCE, new ServiceRemoveStepHandler(StrictMaxPoolConfigService.EJB_POOL_CONFIG_BASE_SERVICE_NAME, StrictMaxPoolAdd.INSTANCE), OperationEntry.Flag.RESTART_NONE, OperationEntry.Flag.RESTART_RESOURCE_SERVICES); }
EJB3SubsystemRootResourceDefinition(boolean registerRuntimeOnly, PathManager pathManager) { super(PathElement.pathElement(SUBSYSTEM, EJB3Extension.SUBSYSTEM_NAME), EJB3Extension.getResourceDescriptionResolver(EJB3Extension.SUBSYSTEM_NAME), new EJB3SubsystemAdd(defaultSecurityDomainDeploymentProcessor, missingMethodPermissionsDenyAccessMergingProcessor), EJB3SubsystemRemove.INSTANCE, OperationEntry.Flag.RESTART_ALL_SERVICES, OperationEntry.Flag.RESTART_ALL_SERVICES); this.registerRuntimeOnly = registerRuntimeOnly; this.pathManager = pathManager; }
private MdbDeliveryGroupResourceDefinition() { super(PathElement.pathElement(EJB3SubsystemModel.MDB_DELIVERY_GROUP), EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.MDB_DELIVERY_GROUP), MdbDeliveryGroupAdd.INSTANCE, new ReloadRequiredRemoveStepHandler()); }
LegacyPassivationStoreResourceDefinition(String element, OperationStepHandler addHandler, OperationStepHandler removeHandler, OperationEntry.Flag addRestartLevel, OperationEntry.Flag removeRestartLevel, AttributeDefinition... attributes) { super(PathElement.pathElement(element), EJB3Extension.getResourceDescriptionResolver(element), addHandler, removeHandler, addRestartLevel, removeRestartLevel, new DeprecationData(DEPRECATED_VERSION)); this.attributes = attributes; }
private RemotingEjbReceiverDefinition() { super(PathElement.pathElement(EJB3SubsystemModel.REMOTING_EJB_RECEIVER), EJB3Extension .getResourceDescriptionResolver(EJB3SubsystemModel.REMOTING_EJB_RECEIVER), new RemotingProfileChildResourceAddHandler( ATTRIBUTES.values()), new RemotingProfileChildResourceRemoveHandler()); }
RemotingEjbReceiverChannelCreationOptionResource() { super(PathElement.pathElement(EJB3SubsystemModel.CHANNEL_CREATION_OPTIONS), EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.CHANNEL_CREATION_OPTIONS), new RemotingProfileChildResourceAddHandler(ATTRIBUTES.values()), new RemotingProfileChildResourceRemoveHandler()); }
private IdentityResourceDefinition() { this(new Parameters(EJB3SubsystemModel.IDENTITY_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.IDENTITY)) .setCapabilities(IDENTITY_RUNTIME_CAPABILITY), new AddHandler()); }
public AbstractEJBComponentResourceDefinition(final EJBComponentType componentType) { super(PathElement.pathElement(componentType.getResourceType()), EJB3Extension.getResourceDescriptionResolver(componentType.getResourceType())); this.componentType = componentType; }
RemoteConnectorChannelCreationOptionResource() { super(PathElement.pathElement(EJB3SubsystemModel.CHANNEL_CREATION_OPTIONS), EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.CHANNEL_CREATION_OPTIONS), new ChannelCreationOptionAdd(), new ChannelCreationOptionRemove()); }
private EJB3RemoteResourceDefinition() { super(new Parameters(EJB3SubsystemModel.REMOTE_SERVICE_PATH, EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.REMOTE)) .setAddHandler(EJB3RemoteServiceAdd.INSTANCE) .setAddRestartLevel(OperationEntry.Flag.RESTART_ALL_SERVICES) .setRemoveHandler(ReloadRequiredRemoveStepHandler.INSTANCE) .setRemoveRestartLevel(OperationEntry.Flag.RESTART_ALL_SERVICES) .addCapabilities(EJB_REMOTE_CAPABILITY)); }
private PassivationStoreResourceDefinition(String element, AttributeDefinition... attributes) { super(new Parameters(PathElement.pathElement(element), EJB3Extension.getResourceDescriptionResolver(element)) .setAddHandler(ADD_HANDLER) .setRemoveHandler(new PassivationStoreRemove(ADD_HANDLER)) .setRemoveRestartLevel(OperationEntry.Flag.RESTART_RESOURCE_SERVICES)); }
private ApplicationSecurityDomainDefinition() { this(new Parameters(PathElement.pathElement(EJB3SubsystemModel.APPLICATION_SECURITY_DOMAIN), EJB3Extension.getResourceDescriptionResolver(EJB3SubsystemModel.APPLICATION_SECURITY_DOMAIN)) .setCapabilities(APPLICATION_SECURITY_DOMAIN_RUNTIME_CAPABILITY) .addAccessConstraints(new SensitiveTargetAccessConstraintDefinition(new SensitivityClassification(EJB3Extension.SUBSYSTEM_NAME, EJB3SubsystemModel.APPLICATION_SECURITY_DOMAIN, false, false, false)), new ApplicationTypeAccessConstraintDefinition(new ApplicationTypeConfig(EJB3Extension.SUBSYSTEM_NAME, EJB3SubsystemModel.APPLICATION_SECURITY_DOMAIN))) , new AddHandler()); }