WildFly ee Subsystem

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Concepts

Default Bindings

Collects The JNDI names for the default resources on EE components/modules JNDI contexts:

  • The optional "context-service" attribute defines the JNDI name of the EE Concurrency ContextService that should be bound at "java:comp/DefaultContextService".
  • The optional "datasource" attribute defines the JNDI name of the SQL DataSource that should be bound at "java:comp/DefaultDataSource".
  • The optional "jms-connection-factory" attribute defines the JNDI name of the JMS ConnectionFactory that should be bound at "java:comp/DefaultJMSConnectionFactory".
  • The optional "managed-executor-service" attribute defines the JNDI name of the EE Concurrency ManagedExecutorService that should be bound at "java:comp/DefaultManagedExecutorService".
  • The optional "managed-scheduled-executor-service" attribute defines the JNDI name of the EE Concurrency ManagedScheduledExecutorService that should be bound at "java:comp/DefaultManagedScheduledExecutorService".
  • The optional "managed-thread-factory" attribute defines the JNDI name of the EE Concurrency ManagedThreadFactory that should be bound at "java:comp/DefaultManagedThreadFactory".
...
<default-bindings 
    context-service="java:jboss/ee/concurrency/context/default" 
    datasource="java:jboss/datasources/ExampleDS" 
    jms-connection-factory="java:jboss/DefaultJMSConnectionFactory" 
    managed-executor-service="java:jboss/ee/concurrency/executor/default" 
    managed-scheduled-executor-service="java:jboss/ee/concurrency/scheduler/default" 
    managed-thread-factory="java:jboss/ee/concurrency/factory/default"/>

Subjects