public ConnectionFactoryDefinition(final boolean registerRuntimeOnly) {
   super(
       PATH,
       MessagingExtension.getResourceDescriptionResolver(CommonAttributes.CONNECTION_FACTORY),
       ConnectionFactoryAdd.INSTANCE,
       ConnectionFactoryRemove.INSTANCE);
   this.registerRuntimeOnly = registerRuntimeOnly;
 }
Exemplo n.º 2
0
 private JMSQueueDefinition(
     final boolean registerRuntimeOnly,
     final boolean deployed,
     final OperationStepHandler addHandler,
     final OperationStepHandler removeHandler) {
   super(
       PATH,
       MessagingExtension.getResourceDescriptionResolver(CommonAttributes.JMS_QUEUE),
       addHandler,
       removeHandler);
   this.registerRuntimeOnly = registerRuntimeOnly;
   this.deployed = deployed;
   ApplicationTypeConfig atc =
       new ApplicationTypeConfig(MessagingExtension.SUBSYSTEM_NAME, CommonAttributes.JMS_QUEUE);
   accessConstraints = new ApplicationTypeAccessConstraintDefinition(atc).wrapAsList();
 }