org.openejb.mdb
Class MDBContainerBuilder

java.lang.Object
  extended byorg.openejb.mdb.MDBContainerBuilder
All Implemented Interfaces:
ResourceEnvironmentBuilder, SecureBuilder

public class MDBContainerBuilder
extends Object
implements ResourceEnvironmentBuilder, SecureBuilder

Version:
$Revision: 1.8 $ $Date: 2004/07/30 23:16:27 $

Constructor Summary
MDBContainerBuilder()
           
 
Method Summary
protected  LinkedHashMap buildVopMap(Class beanClass)
           
 org.apache.geronimo.gbean.jmx.GBeanMBean createConfiguration()
           
 javax.management.ObjectName getActivationSpecName()
           
 Set getApplicationManagedSecurityResources()
           
 String getBeanClassName()
           
 ClassLoader getClassLoader()
           
 org.apache.geronimo.naming.java.ReadOnlyContext getComponentContext()
           
 String getContainerId()
           
 Subject getDefaultSubject()
           
 String getEJBName()
           
 String getEndpointInterfaceName()
           
 javax.management.ObjectName getNonTransactedTimerName()
           
 Subject getRunAs()
           
 SecurityConfiguration getSecurityConfiguration()
           
 javax.management.ObjectName getTransactedTimerName()
           
 TransactionPolicySource getTransactionPolicySource()
           
 Set getUnshareableResources()
           
 org.apache.geronimo.transaction.UserTransactionImpl getUserTransaction()
           
 boolean isDoAsCurrentCaller()
           
 boolean isSecurityEnabled()
           
 boolean isUseContextHandler()
           
 void setActivationSpecName(javax.management.ObjectName activationSpecName)
           
 void setApplicationManagedSecurityResources(Set applicationManagedSecurityResources)
           
 void setBeanClassName(String beanClassName)
           
 void setClassLoader(ClassLoader classLoader)
           
 void setComponentContext(org.apache.geronimo.naming.java.ReadOnlyContext componentContext)
           
 void setContainerId(String containerId)
           
 void setDefaultSubject(Subject defaultSubject)
           
 void setDoAsCurrentCaller(boolean doAsCurrentCaller)
           
 void setEJBName(String ejbName)
           
 void setEndpointInterfaceName(String endpointInterfaceName)
           
 void setNonTransactedTimerName(javax.management.ObjectName nonTransactedTimerName)
           
 void setRunAs(Subject runAs)
           
 void setSecurityConfiguration(SecurityConfiguration securityConfiguration)
           
 void setSecurityEnabled(boolean securityEnabled)
           
 void setTransactedTimerName(javax.management.ObjectName transactedTimerName)
           
 void setTransactionPolicySource(TransactionPolicySource transactionPolicySource)
           
 void setUnshareableResources(Set unshareableResources)
           
 void setUseContextHandler(boolean useContextHandler)
           
 void setUserTransaction(org.apache.geronimo.transaction.UserTransactionImpl userTransaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDBContainerBuilder

public MDBContainerBuilder()
Method Detail

getContainerId

public String getContainerId()

setContainerId

public void setContainerId(String containerId)

getEJBName

public String getEJBName()

setEJBName

public void setEJBName(String ejbName)

getActivationSpecName

public javax.management.ObjectName getActivationSpecName()

setActivationSpecName

public void setActivationSpecName(javax.management.ObjectName activationSpecName)

getBeanClassName

public String getBeanClassName()

setBeanClassName

public void setBeanClassName(String beanClassName)

getEndpointInterfaceName

public String getEndpointInterfaceName()

setEndpointInterfaceName

public void setEndpointInterfaceName(String endpointInterfaceName)

getDefaultSubject

public Subject getDefaultSubject()
Specified by:
getDefaultSubject in interface SecureBuilder

setDefaultSubject

public void setDefaultSubject(Subject defaultSubject)
Specified by:
setDefaultSubject in interface SecureBuilder

getRunAs

public Subject getRunAs()
Specified by:
getRunAs in interface SecureBuilder

setRunAs

public void setRunAs(Subject runAs)
Specified by:
setRunAs in interface SecureBuilder

isDoAsCurrentCaller

public boolean isDoAsCurrentCaller()
Specified by:
isDoAsCurrentCaller in interface SecureBuilder

setDoAsCurrentCaller

public void setDoAsCurrentCaller(boolean doAsCurrentCaller)
Specified by:
setDoAsCurrentCaller in interface SecureBuilder

isSecurityEnabled

public boolean isSecurityEnabled()
Specified by:
isSecurityEnabled in interface SecureBuilder

setSecurityEnabled

public void setSecurityEnabled(boolean securityEnabled)
Specified by:
setSecurityEnabled in interface SecureBuilder

isUseContextHandler

public boolean isUseContextHandler()
Specified by:
isUseContextHandler in interface SecureBuilder

setUseContextHandler

public void setUseContextHandler(boolean useContextHandler)
Specified by:
setUseContextHandler in interface SecureBuilder

getSecurityConfiguration

public SecurityConfiguration getSecurityConfiguration()
Specified by:
getSecurityConfiguration in interface SecureBuilder

setSecurityConfiguration

public void setSecurityConfiguration(SecurityConfiguration securityConfiguration)
Specified by:
setSecurityConfiguration in interface SecureBuilder

getComponentContext

public org.apache.geronimo.naming.java.ReadOnlyContext getComponentContext()

setComponentContext

public void setComponentContext(org.apache.geronimo.naming.java.ReadOnlyContext componentContext)

getUnshareableResources

public Set getUnshareableResources()
Specified by:
getUnshareableResources in interface ResourceEnvironmentBuilder

setUnshareableResources

public void setUnshareableResources(Set unshareableResources)
Specified by:
setUnshareableResources in interface ResourceEnvironmentBuilder

getApplicationManagedSecurityResources

public Set getApplicationManagedSecurityResources()
Specified by:
getApplicationManagedSecurityResources in interface ResourceEnvironmentBuilder

setApplicationManagedSecurityResources

public void setApplicationManagedSecurityResources(Set applicationManagedSecurityResources)
Specified by:
setApplicationManagedSecurityResources in interface ResourceEnvironmentBuilder

getUserTransaction

public org.apache.geronimo.transaction.UserTransactionImpl getUserTransaction()

setUserTransaction

public void setUserTransaction(org.apache.geronimo.transaction.UserTransactionImpl userTransaction)

getTransactionPolicySource

public TransactionPolicySource getTransactionPolicySource()

setTransactionPolicySource

public void setTransactionPolicySource(TransactionPolicySource transactionPolicySource)

getClassLoader

public ClassLoader getClassLoader()

setClassLoader

public void setClassLoader(ClassLoader classLoader)

getTransactedTimerName

public javax.management.ObjectName getTransactedTimerName()

setTransactedTimerName

public void setTransactedTimerName(javax.management.ObjectName transactedTimerName)

getNonTransactedTimerName

public javax.management.ObjectName getNonTransactedTimerName()

setNonTransactedTimerName

public void setNonTransactedTimerName(javax.management.ObjectName nonTransactedTimerName)

createConfiguration

public org.apache.geronimo.gbean.jmx.GBeanMBean createConfiguration()
                                                             throws Exception
Throws:
Exception

buildVopMap

protected LinkedHashMap buildVopMap(Class beanClass)
                             throws Exception
Throws:
Exception


Copyright © 1999-2005 OpenEJB. All Rights Reserved.