org.apache.geronimo.connector.deployment
Class ResourceRefBuilder

java.lang.Object
  extended by org.apache.geronimo.naming.deployment.AbstractNamingBuilder
      extended by org.apache.geronimo.connector.deployment.ResourceRefBuilder
All Implemented Interfaces:
org.apache.geronimo.j2ee.deployment.NamingBuilder, org.apache.geronimo.naming.deployment.ResourceEnvironmentSetter

public class ResourceRefBuilder
extends org.apache.geronimo.naming.deployment.AbstractNamingBuilder
implements org.apache.geronimo.naming.deployment.ResourceEnvironmentSetter


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.naming.deployment.AbstractNamingBuilder
J2EE_CONVERTER, J2EE_NAMESPACE, JEE_NAMESPACE
 
Fields inherited from interface org.apache.geronimo.j2ee.deployment.NamingBuilder
ENV, GBEAN_NAME_KEY, JNDI_KEY, NO_REFS
 
Constructor Summary
ResourceRefBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment, String[] eeNamespaces)
           
 
Method Summary
 void buildNaming(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, Map componentContext)
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 org.apache.xmlbeans.QNameSet getPlanQNameSet()
           
 org.apache.xmlbeans.QNameSet getSpecQNameSet()
           
 void setResourceEnvironment(org.apache.geronimo.naming.deployment.ResourceEnvironmentBuilder builder, org.apache.xmlbeans.XmlObject[] resourceRefs, org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType[] gerResourceRefs)
           
protected  boolean willMergeEnvironment(org.apache.xmlbeans.XmlObject specDD, org.apache.xmlbeans.XmlObject plan)
           
 
Methods inherited from class org.apache.geronimo.naming.deployment.AbstractNamingBuilder
assureInterface, buildAbstractNameQuery, buildAbstractNameQuery, buildEnvironment, buildQNameSet, convert, getGBeanName, getJndiContextMap, getStringValue, initContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

ResourceRefBuilder

public ResourceRefBuilder(org.apache.geronimo.kernel.repository.Environment defaultEnvironment,
                          String[] eeNamespaces)
Method Detail

willMergeEnvironment

protected boolean willMergeEnvironment(org.apache.xmlbeans.XmlObject specDD,
                                       org.apache.xmlbeans.XmlObject plan)
Overrides:
willMergeEnvironment in class org.apache.geronimo.naming.deployment.AbstractNamingBuilder

buildNaming

public void buildNaming(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,
                        Map componentContext)
                 throws org.apache.geronimo.common.DeploymentException
Specified by:
buildNaming in interface org.apache.geronimo.j2ee.deployment.NamingBuilder
Throws:
org.apache.geronimo.common.DeploymentException

setResourceEnvironment

public void setResourceEnvironment(org.apache.geronimo.naming.deployment.ResourceEnvironmentBuilder builder,
                                   org.apache.xmlbeans.XmlObject[] resourceRefs,
                                   org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType[] gerResourceRefs)
Specified by:
setResourceEnvironment in interface org.apache.geronimo.naming.deployment.ResourceEnvironmentSetter

getSpecQNameSet

public org.apache.xmlbeans.QNameSet getSpecQNameSet()
Specified by:
getSpecQNameSet in interface org.apache.geronimo.j2ee.deployment.NamingBuilder

getPlanQNameSet

public org.apache.xmlbeans.QNameSet getPlanQNameSet()
Specified by:
getPlanQNameSet in interface org.apache.geronimo.j2ee.deployment.NamingBuilder

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.