public class EJBUtilities extends Object implements EndpointDeployer, org.jboss.msc.service.Service<EJBUtilities>
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
EJBUtilities() |
Modifier and Type | Method and Description |
---|---|
javax.resource.spi.ActivationSpec |
createActivationSpecs(String resourceAdapterName,
Class<?> messageListenerInterface,
Properties activationConfigProperties,
ClassLoader classLoader)
The deployer configures an ActivationSpec JavaBean instance based on the
information provided by the application developer or assembler, which is contained
in the endpoint deployment descriptor or by way of metadata annotations described
in Section 18.7, “@Activation” on page 18-14.
|
org.jboss.jca.core.spi.rar.ResourceAdapterRepository |
getResourceAdapterRepository() |
org.jboss.msc.inject.Injector<org.jboss.jca.core.spi.rar.ResourceAdapterRepository> |
getResourceAdapterRepositoryInjector() |
SimpleSecurityManager |
getSecurityManager() |
org.jboss.msc.inject.Injector<SimpleSecurityManager> |
getSecurityManagerInjector() |
TransactionManager |
getTransactionManager() |
org.jboss.msc.inject.Injector<TransactionManager> |
getTransactionManagerInjector() |
TransactionSynchronizationRegistry |
getTransactionSynchronizationRegistry() |
org.jboss.msc.value.InjectedValue<TransactionSynchronizationRegistry> |
getTransactionSynchronizationRegistryInjector() |
UserTransaction |
getUserTransaction() |
org.jboss.msc.inject.Injector<UserTransaction> |
getUserTransactionInjector() |
EJBUtilities |
getValue() |
boolean |
hasSecurityManager() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public javax.resource.spi.ActivationSpec createActivationSpecs(String resourceAdapterName, Class<?> messageListenerInterface, Properties activationConfigProperties, ClassLoader classLoader)
EndpointDeployer
createActivationSpecs
in interface EndpointDeployer
resourceAdapterName
- the name of the resource adapter to usemessageListenerInterface
- the listener interface of the endpointactivationConfigProperties
- the standard and provider-specific information for configuring the activation specclassLoader
- the class loader which holds the activation spec classpublic org.jboss.jca.core.spi.rar.ResourceAdapterRepository getResourceAdapterRepository()
public org.jboss.msc.inject.Injector<org.jboss.jca.core.spi.rar.ResourceAdapterRepository> getResourceAdapterRepositoryInjector()
public SimpleSecurityManager getSecurityManager()
public org.jboss.msc.inject.Injector<SimpleSecurityManager> getSecurityManagerInjector()
public TransactionManager getTransactionManager()
public org.jboss.msc.inject.Injector<TransactionManager> getTransactionManagerInjector()
public org.jboss.msc.value.InjectedValue<TransactionSynchronizationRegistry> getTransactionSynchronizationRegistryInjector()
public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
public UserTransaction getUserTransaction()
public org.jboss.msc.inject.Injector<UserTransaction> getUserTransactionInjector()
public EJBUtilities getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<EJBUtilities>
IllegalStateException
IllegalArgumentException
public boolean hasSecurityManager()
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<EJBUtilities>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<EJBUtilities>
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.