|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.MetaData
org.jboss.metadata.OldMetaData<JBossMetaData>
org.jboss.metadata.ApplicationMetaData
@Deprecated public class ApplicationMetaData
The top level meta data from the jboss.xml and ejb-jar.xml descriptor.
Field Summary | |
---|---|
static int |
EJB_1x
Deprecated. |
static int |
EJB_2x
Deprecated. |
Fields inherited from class org.jboss.metadata.MetaData |
---|
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN |
Constructor Summary | |
---|---|
|
ApplicationMetaData(EjbJarMetaData delegate)
Deprecated. Create a new ApplicationMetaData. |
|
ApplicationMetaData(JBossMetaData delegate)
Deprecated. Create a new ApplicationMetaData. |
protected |
ApplicationMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. Create a new ApplicationMetaData. |
Method Summary | |
---|---|
void |
addBeanMetaData(BeanMetaData metaData)
Deprecated. Add bean metadata |
void |
addPluginData(String pluginName,
Object pluginData)
Deprecated. Add plugin data |
AssemblyDescriptorMetaData |
getAssemblyDescriptor()
Deprecated. Get the assembly descriptor |
BeanMetaData |
getBeanByEjbName(String ejbName)
Deprecated. Get an EJB by its declared <ejb-name> tag |
String |
getConfigFile()
Deprecated. Get the config file |
String |
getConfigName()
Deprecated. Get the config name |
ConfigurationMetaData |
getConfigurationMetaDataByName(String name)
Deprecated. Get a configuration by name |
Iterator<ConfigurationMetaData> |
getConfigurations()
Deprecated. Get the configurations |
boolean |
getEnforceEjbRestrictions()
Deprecated. Get the enforce ejb restrictions |
Iterator<BeanMetaData> |
getEnterpriseBeans()
Deprecated. Get the enterprise beans |
boolean |
getExceptionRollback()
Deprecated. Whether to throw an exception on rollback |
InvokerProxyBindingMetaData |
getInvokerProxyBindingMetaDataByName(String name)
Deprecated. Get an invoker proxy binding by name |
Iterator<InvokerProxyBindingMetaData> |
getInvokerProxyBindings()
Deprecated. Get the invoker proxy bindings |
String |
getJaccContextID()
Deprecated. |
JBossMetaData |
getJBossMetaData()
Deprecated. |
String |
getJmxName()
Deprecated. Get the jmx name |
MessageDestinationMetaData |
getMessageDestination(String name)
Deprecated. Get a message destination |
Object |
getPluginData(String pluginName)
Deprecated. Get plugin data |
Iterator<RelationMetaData> |
getRelationships()
Deprecated. Get the container managed relations in this application. |
String |
getResourceByName(String name)
Deprecated. Get a resource by name |
URLClassLoader |
getResourceCl()
Deprecated. Get the ClassLoader to load additional resources |
String |
getSecurityDomain()
Deprecated. Get the security domain |
String |
getUnauthenticatedPrincipal()
Deprecated. Get the unathenticated principal |
URL |
getUrl()
Deprecated. Get the url |
String |
getWebServiceContextRoot()
Deprecated. Get the webservice context root |
Webservices |
getWebservices()
Deprecated. |
String |
getWsdlPublishLocationByName(String name)
Deprecated. Get the wsdl publish location by name |
Map<String,String> |
getWsdlPublishLocations()
Deprecated. Get the Wsdl Publish locations |
boolean |
isEJB1x()
Deprecated. Whether this is ejb1.x |
boolean |
isEJB21()
Deprecated. Whether this is ejb2.1 |
boolean |
isEJB2x()
Deprecated. Whether this is ejb2.x |
boolean |
isEJB3x()
Deprecated. Whether this is ejb3.x |
boolean |
isExcludeMissingMethods()
Deprecated. Get whether to exclude missing methods |
boolean |
isWebServiceDeployment()
Deprecated. Get whether this is a webservice deployment |
void |
setConfigFile(String configFile)
Deprecated. Set the config file |
void |
setConfigName(String configName)
Deprecated. Set the config name |
void |
setResourceClassLoader(URLClassLoader resourceCl)
Deprecated. Set the ClassLoader to load additional resources |
void |
setSecurityDomain(String securityDomain)
Deprecated. Set the security domain for this web application |
void |
setUnauthenticatedPrincipal(String unauthenticatedPrincipal)
Deprecated. Set the unathenticated principal |
void |
setUrl(URL u)
Deprecated. Set the url |
void |
setWebServiceContextRoot(String webServiceContextRoot)
Deprecated. Set the webservice context root |
void |
setWebServiceDeployment(boolean webServiceDeployment)
Deprecated. Set whether this is a webservice deployment |
Methods inherited from class org.jboss.metadata.OldMetaData |
---|
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final int EJB_1x
@Deprecated public static final int EJB_2x
Constructor Detail |
---|
public ApplicationMetaData(JBossMetaData delegate)
delegate
- the delegate
IllegalArgumentException
- for a null delegatepublic ApplicationMetaData(EjbJarMetaData delegate)
FOR TESTING PURPOSES ONLY
delegate
- the delegate
IllegalArgumentException
- for a null delegateprotected ApplicationMetaData(org.jboss.metadata.spi.MetaData metaData)
metaData
- the delegate metadata
IllegalArgumentException
- for a null metaData
IllegalStateException
- if the metadata doesn't have an JBossMetaData
Method Detail |
---|
public JBossMetaData getJBossMetaData()
public boolean isEJB1x()
public boolean isEJB2x()
public boolean isEJB21()
public boolean isEJB3x()
public Iterator<BeanMetaData> getEnterpriseBeans()
public BeanMetaData getBeanByEjbName(String ejbName)
ejbName
- EJB to return
null
if none found
IllegalArgumentException
- for a null namepublic Iterator<RelationMetaData> getRelationships()
public AssemblyDescriptorMetaData getAssemblyDescriptor()
public MessageDestinationMetaData getMessageDestination(String name)
name
- destination name
public String getConfigName()
public String getConfigFile()
public Webservices getWebservices()
public Map<String,String> getWsdlPublishLocations()
public String getWsdlPublishLocationByName(String name)
name
- the name
public String getWebServiceContextRoot()
public Iterator<ConfigurationMetaData> getConfigurations()
public ConfigurationMetaData getConfigurationMetaDataByName(String name)
name
- the configuration name
IllegalArgumentException
- for a null namepublic Iterator<InvokerProxyBindingMetaData> getInvokerProxyBindings()
public InvokerProxyBindingMetaData getInvokerProxyBindingMetaDataByName(String name)
name
- the name
public String getResourceByName(String name)
name
- the name
IllegalArgumentException
- for a null namepublic String getJmxName()
public String getJaccContextID()
public String getSecurityDomain()
public String getUnauthenticatedPrincipal()
public boolean isExcludeMissingMethods()
public boolean getExceptionRollback()
public boolean getEnforceEjbRestrictions()
UnsupportedOperationException
- alwayspublic void addBeanMetaData(BeanMetaData metaData)
metaData
- the bean metadata
UnsupportedOperationException
- alwayspublic URLClassLoader getResourceCl()
UnsupportedOperationException
- alwayspublic void setResourceClassLoader(URLClassLoader resourceCl)
resourceCl
- the resource classloader
UnsupportedOperationException
- alwayspublic URL getUrl()
UnsupportedOperationException
- alwayspublic void setUrl(URL u)
u
- the url
UnsupportedOperationException
- alwayspublic void setConfigFile(String configFile)
configFile
- the config file
UnsupportedOperationException
- alwayspublic void setConfigName(String configName)
configName
- the config name
UnsupportedOperationException
- alwayspublic void addPluginData(String pluginName, Object pluginData)
pluginName
- the plugin namepluginData
- the plugin data
UnsupportedOperationException
- alwayspublic Object getPluginData(String pluginName)
pluginName
- the plugin name
UnsupportedOperationException
- alwayspublic void setSecurityDomain(String securityDomain)
securityDomain
- the security domain
UnsupportedOperationException
- alwayspublic void setUnauthenticatedPrincipal(String unauthenticatedPrincipal)
unauthenticatedPrincipal
- the unathenticated principal
UnsupportedOperationException
- alwayspublic boolean isWebServiceDeployment()
public void setWebServiceDeployment(boolean webServiceDeployment)
webServiceDeployment
- true when a webservice deployment
UnsupportedOperationException
- alwayspublic void setWebServiceContextRoot(String webServiceContextRoot)
webServiceContextRoot
- the context root
UnsupportedOperationException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |