Interface Environment
- All Superinterfaces:
RemoteEnvironment
- All Known Subinterfaces:
MutableEnvironment
- All Known Implementing Classes:
EnvironmentRefsGroupMetaData, JBossEnvironmentRefsGroupMetaData
Environment.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context service by name.Retrieves the context services.Get by nameGet the ejbLocalReferences.Retrieves the managed executor by name.Retrieves the managed executors.Retrieves the managed scheduled executor by name.Retrieves the managed scheduled executors.Retrieves the managed thread factories.Retrieves the managed thread factory by name.Get by nameGet the persistenceContextRefs.Methods inherited from interface RemoteEnvironment
getAdministeredObjectByName, getAdministeredObjects, getAnnotatedEjbReferences, getConnectionFactories, getConnectionFactoryByName, getDataSourceByName, getDataSources, getEjbReferenceByName, getEjbReferences, getEnvironmentEntries, getEnvironmentEntryByName, getJmsConnectionFactories, getJmsConnectionFactoryByName, getJmsDestinationByName, getJmsDestinations, getMailSessionByName, getMailSessions, getMessageDestinationReferenceByName, getMessageDestinationReferences, getPersistenceUnitReferenceByName, getPersistenceUnitRefs, getPostConstructs, getPreDestroys, getResourceEnvironmentReferenceByName, getResourceEnvironmentReferences, getResourceReferenceByName, getResourceReferences, getServiceReferenceByName, getServiceReferences
-
Method Details
-
getEjbLocalReferences
EJBLocalReferencesMetaData getEjbLocalReferences()Get the ejbLocalReferences.- Returns:
- the ejbLocalReferences.
-
getEjbLocalReferenceByName
Get by name- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getPersistenceContextRefs
PersistenceContextReferencesMetaData getPersistenceContextRefs()Get the persistenceContextRefs.- Returns:
- the persistenceContextRefs.
-
getPersistenceContextReferenceByName
Get by name- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getContextServices
-
getContextServiceByName
Retrieves the context service by name.- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getManagedExecutors
-
getManagedExecutorByName
Retrieves the managed executor by name.- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getManagedScheduledExecutors
ManagedScheduledExecutorsMetaData getManagedScheduledExecutors()Retrieves the managed scheduled executors.- Returns:
-
getManagedScheduledExecutorByName
ManagedScheduledExecutorMetaData getManagedScheduledExecutorByName(String name) throws IllegalArgumentException Retrieves the managed scheduled executor by name.- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getManagedThreadFactories
ManagedThreadFactoriesMetaData getManagedThreadFactories()Retrieves the managed thread factories.- Returns:
-
getManagedThreadFactoryByName
ManagedThreadFactoryMetaData getManagedThreadFactoryByName(String name) throws IllegalArgumentException Retrieves the managed thread factory by name.- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-