org.apache.geronimo.naming.deployment
Class AbstractNamingBuilder
java.lang.Object
org.apache.geronimo.naming.deployment.AbstractNamingBuilder
- All Implemented Interfaces:
- org.apache.geronimo.j2ee.deployment.NamingBuilder
- Direct Known Subclasses:
- CorbaRefBuilder, EnvironmentEntryBuilder, UserTransactionRefBuilder
public abstract class AbstractNamingBuilder
- extends Object
- implements org.apache.geronimo.j2ee.deployment.NamingBuilder
Fields inherited from interface org.apache.geronimo.j2ee.deployment.NamingBuilder |
ENV, GBEAN_NAME_KEY, JNDI_KEY, NO_REFS |
Method Summary |
static Class |
assureInterface(String interfaceName,
String superInterfaceName,
String interfaceType,
ClassLoader cl)
|
static org.apache.geronimo.gbean.AbstractNameQuery |
buildAbstractNameQuery(org.apache.geronimo.kernel.repository.Artifact configId,
String module,
String name,
String type,
String moduleType)
|
static org.apache.geronimo.gbean.AbstractNameQuery |
buildAbstractNameQuery(GerPatternType pattern,
String type,
String moduleType,
Set interfaceTypes)
|
void |
buildEnvironment(org.apache.xmlbeans.XmlObject specDD,
org.apache.xmlbeans.XmlObject plan,
org.apache.geronimo.kernel.repository.Environment environment)
|
protected static org.apache.xmlbeans.QNameSet |
buildQNameSet(String[] eeNamespaces,
String localPart)
|
protected org.apache.xmlbeans.XmlObject[] |
convert(org.apache.xmlbeans.XmlObject[] xmlObjects,
org.apache.geronimo.schema.NamespaceElementConverter converter,
org.apache.xmlbeans.SchemaType type)
|
protected org.apache.geronimo.gbean.AbstractName |
getGBeanName(Map sharedContext)
|
protected Map |
getJndiContextMap(Map sharedContext)
|
protected static String |
getStringValue(org.apache.geronimo.xbeans.j2ee.String string)
|
void |
initContext(org.apache.xmlbeans.XmlObject specDD,
org.apache.xmlbeans.XmlObject plan,
org.apache.geronimo.kernel.config.Configuration localConfiguration,
org.apache.geronimo.kernel.config.Configuration remoteConfiguration,
org.apache.geronimo.j2ee.deployment.Module module)
|
protected boolean |
willMergeEnvironment(org.apache.xmlbeans.XmlObject specDD,
org.apache.xmlbeans.XmlObject plan)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.geronimo.j2ee.deployment.NamingBuilder |
buildNaming, getPlanQNameSet, getSpecQNameSet |
J2EE_NAMESPACE
protected static final String J2EE_NAMESPACE
- See Also:
- Constant Field Values
JEE_NAMESPACE
protected static final String JEE_NAMESPACE
- See Also:
- Constant Field Values
J2EE_CONVERTER
protected static final org.apache.geronimo.schema.NamespaceElementConverter J2EE_CONVERTER
AbstractNamingBuilder
protected AbstractNamingBuilder()
AbstractNamingBuilder
protected AbstractNamingBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment)
buildEnvironment
public void buildEnvironment(org.apache.xmlbeans.XmlObject specDD,
org.apache.xmlbeans.XmlObject plan,
org.apache.geronimo.kernel.repository.Environment environment)
- Specified by:
buildEnvironment
in interface org.apache.geronimo.j2ee.deployment.NamingBuilder
willMergeEnvironment
protected boolean willMergeEnvironment(org.apache.xmlbeans.XmlObject specDD,
org.apache.xmlbeans.XmlObject plan)
initContext
public void initContext(org.apache.xmlbeans.XmlObject specDD,
org.apache.xmlbeans.XmlObject plan,
org.apache.geronimo.kernel.config.Configuration localConfiguration,
org.apache.geronimo.kernel.config.Configuration remoteConfiguration,
org.apache.geronimo.j2ee.deployment.Module module)
throws org.apache.geronimo.common.DeploymentException
- Specified by:
initContext
in interface org.apache.geronimo.j2ee.deployment.NamingBuilder
- Throws:
org.apache.geronimo.common.DeploymentException
getJndiContextMap
protected Map getJndiContextMap(Map sharedContext)
getGBeanName
protected org.apache.geronimo.gbean.AbstractName getGBeanName(Map sharedContext)
buildQNameSet
protected static org.apache.xmlbeans.QNameSet buildQNameSet(String[] eeNamespaces,
String localPart)
convert
protected org.apache.xmlbeans.XmlObject[] convert(org.apache.xmlbeans.XmlObject[] xmlObjects,
org.apache.geronimo.schema.NamespaceElementConverter converter,
org.apache.xmlbeans.SchemaType type)
getStringValue
protected static String getStringValue(org.apache.geronimo.xbeans.j2ee.String string)
buildAbstractNameQuery
public static org.apache.geronimo.gbean.AbstractNameQuery buildAbstractNameQuery(GerPatternType pattern,
String type,
String moduleType,
Set interfaceTypes)
buildAbstractNameQuery
public static org.apache.geronimo.gbean.AbstractNameQuery buildAbstractNameQuery(org.apache.geronimo.kernel.repository.Artifact configId,
String module,
String name,
String type,
String moduleType)
assureInterface
public static Class assureInterface(String interfaceName,
String superInterfaceName,
String interfaceType,
ClassLoader cl)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.