org.jboss.metadata.client.spec
Class ApplicationClientMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup
          extended by org.jboss.metadata.client.spec.ApplicationClientMetaData
All Implemented Interfaces:
Serializable, Cloneable, RemoteEnvironment, IdMetaData
Direct Known Subclasses:
ApplicationClient14DTDMetaData, ApplicationClient14MetaData, ApplicationClient5MetaData

public class ApplicationClientMetaData
extends IdMetaDataImplWithDescriptionGroup
implements RemoteEnvironment

The common application client meta data for all JavaEE and J2EE versions.

Version:
$Revision: 75470 $
Author:
Carlo de Wolf
See Also:
Serialized Form

Constructor Summary
ApplicationClientMetaData()
           
 
Method Summary
 AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
          Get the ejbReferences.
 String getCallbackHandler()
           
 String getDtdPublicId()
          Get the DTD public id if one was seen
 String getDtdSystemId()
          Get the DTD system id if one was seen
 EJBReferenceMetaData getEjbReferenceByName(String name)
          Get by name
 EJBReferencesMetaData getEjbReferences()
          Get the ejbReferences.
 EnvironmentEntriesMetaData getEnvironmentEntries()
          Get the environmentEntries.
 EnvironmentEntryMetaData getEnvironmentEntryByName(String name)
          Get by name
 RemoteEnvironmentRefsGroupMetaData getJndiEnvironmentRefsGroup()
           
 MessageDestinationMetaData getMessageDestinationByName(String name)
          Get a message destination
 MessageDestinationReferenceMetaData getMessageDestinationReferenceByName(String name)
          Get by name
 MessageDestinationReferencesMetaData getMessageDestinationReferences()
          Get the messageDestinationReferences.
 MessageDestinationsMetaData getMessageDestinations()
          Get the messageDestinations.
 PersistenceUnitReferenceMetaData getPersistenceUnitReferenceByName(String name)
          Get by name
 PersistenceUnitReferencesMetaData getPersistenceUnitRefs()
          Get the persistenceUnitRefs.
 LifecycleCallbacksMetaData getPostConstructs()
          Get the postConstructs.
 LifecycleCallbacksMetaData getPreDestroys()
          Get the preDestroys.
 ResourceEnvironmentReferenceMetaData getResourceEnvironmentReferenceByName(String name)
          Get by name
 ResourceEnvironmentReferencesMetaData getResourceEnvironmentReferences()
          Get the resourceEnvironmentReferences.
 ResourceReferenceMetaData getResourceReferenceByName(String name)
          Get by name
 ResourceReferencesMetaData getResourceReferences()
          Get the resourceReferences.
 ServiceReferenceMetaData getServiceReferenceByName(String name)
          Get by name
 ServiceReferencesMetaData getServiceReferences()
          Get the service references
 String getVersion()
           
 boolean isMetadataComplete()
           
 void setCallbackHandler(String callbackHandler)
           
 void setDTD(String root, String publicId, String systemId)
          Callback for the DTD information
 void setJndiEnvironmentRefsGroup(RemoteEnvironmentRefsGroupMetaData jndiEnvironmentRefsGroup)
           
 void setMessageDestinations(MessageDestinationsMetaData messageDestinations)
          Set the messageDestinations.
 void setMetadataComplete(boolean metadataComplete)
           
 void setVersion(String version)
           
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup
getDescriptionGroup, merge, setDescriptionGroup
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, equals, getId, hashCode, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationClientMetaData

public ApplicationClientMetaData()
Method Detail

setDTD

public void setDTD(String root,
                   String publicId,
                   String systemId)
Callback for the DTD information

Parameters:
root -
publicId -
systemId -

getDtdPublicId

public String getDtdPublicId()
Get the DTD public id if one was seen

Returns:
the value of the web.xml dtd public id

getDtdSystemId

public String getDtdSystemId()
Get the DTD system id if one was seen

Returns:
the value of the web.xml dtd system id

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

isMetadataComplete

public boolean isMetadataComplete()

setMetadataComplete

public void setMetadataComplete(boolean metadataComplete)

getCallbackHandler

public String getCallbackHandler()

getEjbReferenceByName

public EJBReferenceMetaData getEjbReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getEjbReferenceByName in interface RemoteEnvironment
Parameters:
name - the name
Returns:
the result or null if not found

getEjbReferences

public EJBReferencesMetaData getEjbReferences()
Description copied from interface: RemoteEnvironment
Get the ejbReferences.

Specified by:
getEjbReferences in interface RemoteEnvironment
Returns:
the ejbReferences.

getAnnotatedEjbReferences

public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
Description copied from interface: RemoteEnvironment
Get the ejbReferences.

Specified by:
getAnnotatedEjbReferences in interface RemoteEnvironment
Returns:
the ejbReferences.

getEnvironmentEntries

public EnvironmentEntriesMetaData getEnvironmentEntries()
Description copied from interface: RemoteEnvironment
Get the environmentEntries.

Specified by:
getEnvironmentEntries in interface RemoteEnvironment
Returns:
the environmentEntries.

getEnvironmentEntryByName

public EnvironmentEntryMetaData getEnvironmentEntryByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getEnvironmentEntryByName in interface RemoteEnvironment
Parameters:
name - the name
Returns:
the result or null if not found

getJndiEnvironmentRefsGroup

public RemoteEnvironmentRefsGroupMetaData getJndiEnvironmentRefsGroup()

getMessageDestinationByName

public MessageDestinationMetaData getMessageDestinationByName(String name)
Get a message destination

Parameters:
name - the name of the destination
Returns:
the destination or null if not found

getMessageDestinationReferenceByName

public MessageDestinationReferenceMetaData getMessageDestinationReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getMessageDestinationReferenceByName in interface RemoteEnvironment
Parameters:
name - the name
Returns:
the result or null if not found

getMessageDestinationReferences

public MessageDestinationReferencesMetaData getMessageDestinationReferences()
Description copied from interface: RemoteEnvironment
Get the messageDestinationReferences.

Specified by:
getMessageDestinationReferences in interface RemoteEnvironment
Returns:
the messageDestinationReferences.

getMessageDestinations

public MessageDestinationsMetaData getMessageDestinations()
Get the messageDestinations.

Returns:
the messageDestinations.

getResourceEnvironmentReferenceByName

public ResourceEnvironmentReferenceMetaData getResourceEnvironmentReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getResourceEnvironmentReferenceByName in interface RemoteEnvironment
Parameters:
name - the name
Returns:
the result or null if not found

getPersistenceUnitReferenceByName

public PersistenceUnitReferenceMetaData getPersistenceUnitReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getPersistenceUnitReferenceByName in interface RemoteEnvironment
Parameters:
name - the name
Returns:
the result or null if not found

getPersistenceUnitRefs

public PersistenceUnitReferencesMetaData getPersistenceUnitRefs()
Description copied from interface: RemoteEnvironment
Get the persistenceUnitRefs.

Specified by:
getPersistenceUnitRefs in interface RemoteEnvironment
Returns:
the persistenceUnitRefs.

getPostConstructs

public LifecycleCallbacksMetaData getPostConstructs()
Description copied from interface: RemoteEnvironment
Get the postConstructs.

Specified by:
getPostConstructs in interface RemoteEnvironment
Returns:
the postConstructs.

getPreDestroys

public LifecycleCallbacksMetaData getPreDestroys()
Description copied from interface: RemoteEnvironment
Get the preDestroys.

Specified by:
getPreDestroys in interface RemoteEnvironment
Returns:
the preDestroys.

getResourceEnvironmentReferences

public ResourceEnvironmentReferencesMetaData getResourceEnvironmentReferences()
Description copied from interface: RemoteEnvironment
Get the resourceEnvironmentReferences.

Specified by:
getResourceEnvironmentReferences in interface RemoteEnvironment
Returns:
the resourceEnvironmentReferences.

getServiceReferenceByName

public ServiceReferenceMetaData getServiceReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getServiceReferenceByName in interface RemoteEnvironment
Parameters:
name - the name
Returns:
the result or null if not found

getServiceReferences

public ServiceReferencesMetaData getServiceReferences()
Description copied from interface: RemoteEnvironment
Get the service references

Specified by:
getServiceReferences in interface RemoteEnvironment
Returns:

getResourceReferenceByName

public ResourceReferenceMetaData getResourceReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getResourceReferenceByName in interface RemoteEnvironment
Parameters:
name - the name
Returns:
the result or null if not found

getResourceReferences

public ResourceReferencesMetaData getResourceReferences()
Description copied from interface: RemoteEnvironment
Get the resourceReferences.

Specified by:
getResourceReferences in interface RemoteEnvironment
Returns:
the resourceReferences.

setCallbackHandler

public void setCallbackHandler(String callbackHandler)

setJndiEnvironmentRefsGroup

public void setJndiEnvironmentRefsGroup(RemoteEnvironmentRefsGroupMetaData jndiEnvironmentRefsGroup)

setMessageDestinations

public void setMessageDestinations(MessageDestinationsMetaData messageDestinations)
Set the messageDestinations.

Parameters:
messageDestinations - the messageDestinations.
Throws:
IllegalArgumentException - for a null messageDestinations


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.