Class JBossCompatibilityExtension


  • public class JBossCompatibilityExtension
    extends java.lang.Object
    Provides method abstractions to make our subsystem compatible with different JBoss versions. This affects mainly EAP versions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.jboss.msc.service.ServiceName JBOSS_AS
      The service name of the root application server service.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addServerExecutorDependency​(org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.msc.value.InjectedValue<java.util.concurrent.ExecutorService> injector, boolean optional)
      Adds the JBoss server executor as a dependency to the given service.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • JBOSS_AS

        public static final org.jboss.msc.service.ServiceName JBOSS_AS
        The service name of the root application server service. Copied from org.jboss.as.server.Services - JBoss 7.2.0.Final
    • Constructor Detail

      • JBossCompatibilityExtension

        public JBossCompatibilityExtension()
    • Method Detail

      • addServerExecutorDependency

        public static void addServerExecutorDependency​(org.jboss.msc.service.ServiceBuilder<?> serviceBuilder,
                                                       org.jboss.msc.value.InjectedValue<java.util.concurrent.ExecutorService> injector,
                                                       boolean optional)
        Adds the JBoss server executor as a dependency to the given service. Copied from org.jboss.as.server.Services - JBoss 7.2.0.Final