Codota Logo
EJB3SubsystemRootResourceDefinition
Code IndexAdd Codota to your IDE (free)

How to use
EJB3SubsystemRootResourceDefinition
in
org.jboss.as.ejb3.subsystem

Best Java code snippets using org.jboss.as.ejb3.subsystem.EJB3SubsystemRootResourceDefinition (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: wildfly/wildfly

/**
 * Overrides the default impl to use a special definition of the add op that includes additional parameter
 * {@link #DEFAULT_CLUSTERED_SFSB_CACHE}
 * {@inheritDoc}
 */
@Override
protected void registerAddOperation(ManagementResourceRegistration registration, AbstractAddStepHandler handler, OperationEntry.Flag... flags) {
  OperationDefinition od = new SimpleOperationDefinitionBuilder(ADD, getResourceDescriptionResolver())
      .setParameters(ATTRIBUTES)
      .addParameter(DEFAULT_CLUSTERED_SFSB_CACHE)
      .withFlags(flags)
      .build();
  registration.registerOperationHandler(od, handler);
}
origin: org.jboss.as/jboss-as-ejb3

/**
 * {@inheritDoc}
 */
@Override
public void initialize(ExtensionContext context) {
  final boolean registerRuntimeOnly = context.isRuntimeOnlyRegistrationValid();
  final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, MANAGEMENT_API_MAJOR_VERSION,
      MANAGEMENT_API_MINOR_VERSION, MANAGEMENT_API_MICRO_VERSION);
  subsystem.registerXMLElementWriter(EJB3SubsystemXMLPersister.INSTANCE);
  PathManager pathManager = context.getProcessType().isServer() ? context.getPathManager() : null;
  subsystem.registerSubsystemModel(new EJB3SubsystemRootResourceDefinition(registerRuntimeOnly, pathManager));
  if (registerRuntimeOnly) {
    ResourceDefinition deploymentsDef = new SimpleResourceDefinition(PathElement.pathElement(ModelDescriptionConstants.SUBSYSTEM, SUBSYSTEM_NAME),
        getResourceDescriptionResolver("deployed"));
    final ManagementResourceRegistration deploymentsRegistration = subsystem.registerDeploymentModel(deploymentsDef);
    deploymentsRegistration.registerSubModel(EntityBeanResourceDefinition.INSTANCE);
    deploymentsRegistration.registerSubModel(MessageDrivenBeanResourceDefinition.INSTANCE);
    deploymentsRegistration.registerSubModel(SingletonBeanDeploymentResourceDefinition.INSTANCE);
    deploymentsRegistration.registerSubModel(StatelessSessionBeanDeploymentResourceDefinition.INSTANCE);
    deploymentsRegistration.registerSubModel(StatefulSessionBeanDeploymentResourceDefinition.INSTANCE);
  }
  // Transformers
  if (context.isRegisterTransformers()) {
    EJB3SubsystemRootResourceDefinition.registerTransformers(subsystem);
  }
}
origin: wildfly/wildfly

/**
 * {@inheritDoc}
 */
@Override
public void initialize(ExtensionContext context) {
  final boolean registerRuntimeOnly = context.isRuntimeOnlyRegistrationValid();
  final SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, CURRENT_MODEL_VERSION);
  subsystem.registerXMLElementWriter(EJB3SubsystemXMLPersister.INSTANCE);
  PathManager pathManager = context.getProcessType().isServer() ? context.getPathManager() : null;
  subsystem.registerSubsystemModel(new EJB3SubsystemRootResourceDefinition(registerRuntimeOnly, pathManager));
  if (registerRuntimeOnly) {
    ResourceDefinition deploymentsDef = new SimpleResourceDefinition(new Parameters(PathElement.pathElement(ModelDescriptionConstants.SUBSYSTEM, SUBSYSTEM_NAME),
        getResourceDescriptionResolver("deployed")).setFeature(false));
    final ManagementResourceRegistration deploymentsRegistration = subsystem.registerDeploymentModel(deploymentsDef);
    deploymentsRegistration.registerSubModel(MessageDrivenBeanResourceDefinition.INSTANCE);
    deploymentsRegistration.registerSubModel(SingletonBeanDeploymentResourceDefinition.INSTANCE);
    deploymentsRegistration.registerSubModel(StatelessSessionBeanDeploymentResourceDefinition.INSTANCE);
    deploymentsRegistration.registerSubModel(StatefulSessionBeanDeploymentResourceDefinition.INSTANCE);
  }
}
origin: org.jboss.as/jboss-as-ejb3

static void registerTransformers(SubsystemRegistration subsystemRegistration) {
  registerTransformers_1_1_0(subsystemRegistration);
}
org.jboss.as.ejb3.subsystemEJB3SubsystemRootResourceDefinition

Javadoc

org.jboss.as.controller.ResourceDefinition for the EJB3 subsystem's root management resource.

Most used methods

  • <init>
  • getResourceDescriptionResolver
  • registerTransformers
  • registerTransformers_1_1_0

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • JTable (javax.swing)
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now