public final class EEModuleDescription extends Object implements ResourceInjectionTarget
Constructor and Description |
---|
EEModuleDescription(String applicationName,
String moduleName,
String earApplicationName,
boolean appClient)
Construct a new instance.
|
public EEModuleDescription(String applicationName, String moduleName, String earApplicationName, boolean appClient)
applicationName
- the application name (which is same as the module name if the .ear is absent)moduleName
- the module nameearApplicationName
- The application name (which is null if the .ear is absent)appClient
- indicates if the process type is an app clientpublic EEModuleClassDescription addOrGetLocalClassDescription(String className)
className
- The class nameEEModuleClassDescription
public Collection<EEModuleClassDescription> getClassDescriptions()
public org.jboss.msc.service.ServiceName getDefaultClassIntrospectorServiceName()
public void setDefaultClassIntrospectorServiceName(org.jboss.msc.service.ServiceName defaultClassIntrospectorServiceName)
public void addComponent(ComponentDescription description)
description
- the component descriptionpublic String getApplicationName()
#getEarApplicationName()}
public String getModuleName()
public boolean hasComponent(String name)
public boolean isAppClient()
public void setModuleName(String moduleName)
public ComponentDescription getComponentByName(String name)
public List<ComponentDescription> getComponentsByClassName(String className)
public Collection<ComponentDescription> getComponentDescriptions()
public InjectedEENamespaceContextSelector getNamespaceContextSelector()
public void setNamespaceContextSelector(InjectedEENamespaceContextSelector namespaceContextSelector)
public String getDistinctName()
public void setDistinctName(String distinctName)
public String getEarApplicationName()
getApplicationName()
which follows the Java EE6 spec semantics i.e. application name is the
name of the top level deployment (even if it is just a jar and not an ear), this method returns the
application name which follows the EJB spec semantics i.e. the application name is the
.ear name or any configured value in application.xml. This method returns null in the absence of a .earpublic InterceptorClassDescription getInterceptorClassOverride(String className)
className
- The class namepublic void addInterceptorMethodOverride(String className, InterceptorClassDescription override)
className
- The class nameoverride
- The overridepublic List<BindingConfiguration> getBindingConfigurations()
public void addResourceInjection(ResourceInjectionConfiguration injection)
addResourceInjection
in interface ResourceInjectionTarget
public Map<InjectionTarget,ResourceInjectionConfiguration> getResourceInjections(String className)
public void addInterceptorEnvironment(String interceptorClassName, InterceptorEnvironment env)
public Map<String,InterceptorEnvironment> getInterceptorEnvironment()
public ConcurrentContext getConcurrentContext()
public EEDefaultResourceJndiNames getDefaultResourceJndiNames()
public String getDefaultSecurityDomain()
public void setDefaultSecurityDomain(String defaultSecurityDomain)
public int getStartupBeansCount()
public int registerStartupBean()
Copyright © 2018 JBoss by Red Hat. All rights reserved.