Class RemoteEnvironmentRefsGroupMetaData
java.lang.Object
org.jboss.metadata.javaee.spec.RemoteEnvironmentRefsGroupMetaData
- All Implemented Interfaces:
Serializable, MutableRemoteEnvironment, RemoteEnvironment
- Direct Known Subclasses:
EnvironmentRefsGroupMetaData, JBossEnvironmentRefsGroupMetaData, JBossRemoteEnvironmentRefsGroupMetaData
public class RemoteEnvironmentRefsGroupMetaData
extends Object
implements Serializable, RemoteEnvironment, MutableRemoteEnvironment
References which are only available remote (for application clients).
- Version:
- $Revision: 76290 $
- Author:
- Adrian Brock, Carlo de Wolf
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new EnvironmentRefsGroupMetaData. -
Method Summary
Modifier and TypeMethodDescriptionaddAll(LifecycleCallbacksMetaData current, LifecycleCallbacksMetaData additions) Retrieves by name.Retrieves the administeredObjects.Get the ejbReferences.Retrieves the connectionFactories.Retrieves by name.getDataSourceByName(String name) Get by nameGet the dataSources.static DataSourcesMetaDatagetEjbReferenceByName(String name) Get by nameGet the ejbReferences.Get the environmentEntries.Get by nameRetrieves the jmsConnectionFactories.Retrieves by name.Retrieves by name.Retrieves the jmsDestinations.getMailSessionByName(String name) Retrieves by name.Retrieves the mailSessions.Get by nameGet the messageDestinationReferences.Get by nameGet the persistenceUnitRefs.Get the postConstructs.Get the preDestroys.Get by nameGet the resourceEnvironmentReferences.Get by nameGet the resourceReferences.Get by nameGet the serviceReferences.voidsetAdministeredObjects(AdministeredObjectsMetaData administeredObjects) Sets administeredObjects.voidsetAnnotatedEjbReferences(AnnotatedEJBReferencesMetaData annotatedEjbReferences) Set the annotatedEjbReferences.voidsetConnectionFactories(ConnectionFactoriesMetaData connectionFactories) Sets connectionFactories.voidsetDataSources(DataSourcesMetaData dataSources) Set the dataSources.voidsetEjbReferences(EJBReferencesMetaData ejbReferences) Set the ejbReferences.voidsetEnvironmentEntries(EnvironmentEntriesMetaData environmentEntries) Set the environmentEntries.voidsetJmsConnectionFactories(JMSConnectionFactoriesMetaData jmsConnectionFactories) Sets jmsConnectionFactories.voidsetJmsDestinations(JMSDestinationsMetaData jmsDestinations) Sets jmsDestinations.voidsetMailSessions(MailSessionsMetaData mailSessions) Sets mailSessions.voidsetMessageDestinationReferences(MessageDestinationReferencesMetaData messageDestinationReferences) Set the messageDestinationReferences.voidsetPersistenceUnitRefs(PersistenceUnitReferencesMetaData persistenceUnitRefs) Set the persistenceUnitRefs.voidsetPostConstructs(LifecycleCallbacksMetaData postConstructs) Set the postConstructs.voidsetPreDestroys(LifecycleCallbacksMetaData preDestroys) Set the preDestroys.voidsetResourceEnvironmentReferences(ResourceEnvironmentReferencesMetaData resourceEnvironmentReferences) Set the resourceEnvironmentReferences.voidsetResourceReferences(ResourceReferencesMetaData resourceReferences) Set the resourceReferences.voidsetServiceReferences(ServiceReferencesMetaData serviceReferences) Set the serviceReferences.
-
Constructor Details
-
RemoteEnvironmentRefsGroupMetaData
public RemoteEnvironmentRefsGroupMetaData()Create a new EnvironmentRefsGroupMetaData.
-
-
Method Details
-
addAll
public LifecycleCallbacksMetaData addAll(LifecycleCallbacksMetaData current, LifecycleCallbacksMetaData additions) -
getEnvironmentEntries
Get the environmentEntries.- Specified by:
getEnvironmentEntriesin interfaceRemoteEnvironment- Returns:
- the environmentEntries.
-
setEnvironmentEntries
Set the environmentEntries.- Specified by:
setEnvironmentEntriesin interfaceMutableRemoteEnvironment- Parameters:
environmentEntries- the environmentEntries.- Throws:
IllegalArgumentException- for a null environmentEntries
-
getEjbReferences
Get the ejbReferences.- Specified by:
getEjbReferencesin interfaceRemoteEnvironment- Returns:
- the ejbReferences.
-
setEjbReferences
Set the ejbReferences.- Specified by:
setEjbReferencesin interfaceMutableRemoteEnvironment- Parameters:
ejbReferences- the ejbReferences.- Throws:
IllegalArgumentException- for a null ejbReferences
-
getAnnotatedEjbReferences
Description copied from interface:RemoteEnvironmentGet the ejbReferences.- Specified by:
getAnnotatedEjbReferencesin interfaceRemoteEnvironment- Returns:
- the ejbReferences.
-
setAnnotatedEjbReferences
Description copied from interface:MutableRemoteEnvironmentSet the annotatedEjbReferences.- Specified by:
setAnnotatedEjbReferencesin interfaceMutableRemoteEnvironment
-
getServiceReferences
Get the serviceReferences.- Specified by:
getServiceReferencesin interfaceRemoteEnvironment- Returns:
- the serviceReferences.
-
setServiceReferences
Set the serviceReferences.- Specified by:
setServiceReferencesin interfaceMutableRemoteEnvironment- Parameters:
serviceReferences- the serviceReferences.- Throws:
IllegalArgumentException- for a null serviceReferences
-
getResourceReferences
Get the resourceReferences.- Specified by:
getResourceReferencesin interfaceRemoteEnvironment- Returns:
- the resourceReferences.
-
setResourceReferences
Set the resourceReferences.- Specified by:
setResourceReferencesin interfaceMutableRemoteEnvironment- Parameters:
resourceReferences- the resourceReferences.- Throws:
IllegalArgumentException- for a null resourceReferences
-
getResourceEnvironmentReferences
Get the resourceEnvironmentReferences.- Specified by:
getResourceEnvironmentReferencesin interfaceRemoteEnvironment- Returns:
- the resourceEnvironmentReferences.
-
setResourceEnvironmentReferences
public void setResourceEnvironmentReferences(ResourceEnvironmentReferencesMetaData resourceEnvironmentReferences) Set the resourceEnvironmentReferences.- Specified by:
setResourceEnvironmentReferencesin interfaceMutableRemoteEnvironment- Parameters:
resourceEnvironmentReferences- the resourceEnvironmentReferences.- Throws:
IllegalArgumentException- for a null resourceEnvironmentReferences
-
getMessageDestinationReferences
Get the messageDestinationReferences.- Specified by:
getMessageDestinationReferencesin interfaceRemoteEnvironment- Returns:
- the messageDestinationReferences.
-
setMessageDestinationReferences
public void setMessageDestinationReferences(MessageDestinationReferencesMetaData messageDestinationReferences) Set the messageDestinationReferences.- Specified by:
setMessageDestinationReferencesin interfaceMutableRemoteEnvironment- Parameters:
messageDestinationReferences- the messageDestinationReferences.- Throws:
IllegalArgumentException- for a null messageDestinationReferences
-
getPostConstructs
Get the postConstructs.- Specified by:
getPostConstructsin interfaceRemoteEnvironment- Returns:
- the postConstructs.
-
setPostConstructs
Set the postConstructs.- Specified by:
setPostConstructsin interfaceMutableRemoteEnvironment- Parameters:
postConstructs- the postConstructs.- Throws:
IllegalArgumentException- for a null postConstructs
-
getPreDestroys
Get the preDestroys.- Specified by:
getPreDestroysin interfaceRemoteEnvironment- Returns:
- the preDestroys.
-
setPreDestroys
Set the preDestroys.- Specified by:
setPreDestroysin interfaceMutableRemoteEnvironment- Parameters:
preDestroys- the preDestroys.- Throws:
IllegalArgumentException- for a null preDestroys
-
getPersistenceUnitRefs
Get the persistenceUnitRefs.- Specified by:
getPersistenceUnitRefsin interfaceRemoteEnvironment- Returns:
- the persistenceUnitRefs.
-
setPersistenceUnitRefs
Set the persistenceUnitRefs.- Specified by:
setPersistenceUnitRefsin interfaceMutableRemoteEnvironment- Parameters:
persistenceUnitRefs- the persistenceUnitRefs.- Throws:
IllegalArgumentException- for a null persistenceUnitRefs
-
getEjbReferenceByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getEjbReferenceByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getEnvironmentEntryByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getEnvironmentEntryByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getMessageDestinationReferenceByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getMessageDestinationReferenceByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getPersistenceUnitReferenceByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getPersistenceUnitReferenceByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getResourceEnvironmentReferenceByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getResourceEnvironmentReferenceByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getResourceReferenceByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getResourceReferenceByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getServiceReferenceByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getServiceReferenceByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getDataSources
Description copied from interface:RemoteEnvironmentGet the dataSources.- Specified by:
getDataSourcesin interfaceRemoteEnvironment- Returns:
- the dataSources
-
setDataSources
Description copied from interface:MutableRemoteEnvironmentSet the dataSources.- Specified by:
setDataSourcesin interfaceMutableRemoteEnvironment
-
getDataSourceByName
Description copied from interface:RemoteEnvironmentGet by name- Specified by:
getDataSourceByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
-
getDataSources
-
getAdministeredObjects
Description copied from interface:RemoteEnvironmentRetrieves the administeredObjects.- Specified by:
getAdministeredObjectsin interfaceRemoteEnvironment- Returns:
-
setAdministeredObjects
public void setAdministeredObjects(AdministeredObjectsMetaData administeredObjects) throws IllegalArgumentException Sets administeredObjects.- Parameters:
administeredObjects-- Throws:
IllegalArgumentException- for a null arg
-
getAdministeredObjectByName
public AdministeredObjectMetaData getAdministeredObjectByName(String name) throws IllegalArgumentException Description copied from interface:RemoteEnvironmentRetrieves by name.- Specified by:
getAdministeredObjectByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getConnectionFactories
Description copied from interface:RemoteEnvironmentRetrieves the connectionFactories.- Specified by:
getConnectionFactoriesin interfaceRemoteEnvironment- Returns:
-
setConnectionFactories
public void setConnectionFactories(ConnectionFactoriesMetaData connectionFactories) throws IllegalArgumentException Sets connectionFactories.- Parameters:
connectionFactories-- Throws:
IllegalArgumentException- for a null arg
-
getConnectionFactoryByName
public ConnectionFactoryMetaData getConnectionFactoryByName(String name) throws IllegalArgumentException Description copied from interface:RemoteEnvironmentRetrieves by name.- Specified by:
getConnectionFactoryByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getJmsConnectionFactories
Description copied from interface:RemoteEnvironmentRetrieves the jmsConnectionFactories.- Specified by:
getJmsConnectionFactoriesin interfaceRemoteEnvironment- Returns:
-
setJmsConnectionFactories
public void setJmsConnectionFactories(JMSConnectionFactoriesMetaData jmsConnectionFactories) throws IllegalArgumentException Sets jmsConnectionFactories.- Parameters:
jmsConnectionFactories-- Throws:
IllegalArgumentException- for a null arg
-
getJmsConnectionFactoryByName
public JMSConnectionFactoryMetaData getJmsConnectionFactoryByName(String name) throws IllegalArgumentException Description copied from interface:RemoteEnvironmentRetrieves by name.- Specified by:
getJmsConnectionFactoryByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getJmsDestinations
Description copied from interface:RemoteEnvironmentRetrieves the jmsDestinations.- Specified by:
getJmsDestinationsin interfaceRemoteEnvironment- Returns:
-
setJmsDestinations
public void setJmsDestinations(JMSDestinationsMetaData jmsDestinations) throws IllegalArgumentException Sets jmsDestinations.- Parameters:
jmsDestinations-- Throws:
IllegalArgumentException- for a null arg
-
getJmsDestinationByName
Description copied from interface:RemoteEnvironmentRetrieves by name.- Specified by:
getJmsDestinationByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-
getMailSessions
Description copied from interface:RemoteEnvironmentRetrieves the mailSessions.- Specified by:
getMailSessionsin interfaceRemoteEnvironment- Returns:
-
setMailSessions
Sets mailSessions.- Parameters:
mailSessions-- Throws:
IllegalArgumentException- for a null arg
-
getMailSessionByName
Description copied from interface:RemoteEnvironmentRetrieves by name.- Specified by:
getMailSessionByNamein interfaceRemoteEnvironment- Parameters:
name- the name- Returns:
- the result or null if not found
- Throws:
IllegalArgumentException- for a null name
-