org.apache.geronimo.corba
Class TSSLink

java.lang.Object
  extended by org.apache.geronimo.corba.TSSLink
All Implemented Interfaces:
GBeanLifecycle

public class TSSLink
extends Object
implements GBeanLifecycle


Constructor Summary
TSSLink()
           
TSSLink(String[] jndiNames, TSSBean tssBean, EjbDeployment ejb)
           
 
Method Summary
 Policy[] addPolicyOverrides(Policy[] policies)
          Add the policy overrides (if any) to the list of policies used to create a POA instance.
protected  void destroy()
           
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
 String getContainerId()
           
 EjbDeployment getDeployment()
           
 Serializable getHomeTxPolicyConfig()
          CORBA home transaction import policy configuration
 String[] getJndiNames()
           
 Serializable getRemoteTxPolicyConfig()
          CORBA remote transaction import policy configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSSLink

public TSSLink()

TSSLink

public TSSLink(String[] jndiNames,
               TSSBean tssBean,
               EjbDeployment ejb)
Method Detail

doStart

public void doStart()
             throws Exception
Description copied from interface: GBeanLifecycle
Starts the GBean. This informs the GBean that it is about to transition to the running state.

Specified by:
doStart in interface GBeanLifecycle
Throws:
Exception - if the target failed to start; this will cause a transition to the failed state

doStop

public void doStop()
            throws Exception
Description copied from interface: GBeanLifecycle
Stops the target. This informs the GBean that it is about to transition to the stopped state.

Specified by:
doStop in interface GBeanLifecycle
Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state

doFail

public void doFail()
Description copied from interface: GBeanLifecycle
Fails the GBean. This informs the GBean that it is about to transition to the failed state.

Specified by:
doFail in interface GBeanLifecycle

destroy

protected void destroy()

getDeployment

public EjbDeployment getDeployment()

getContainerId

public String getContainerId()

getJndiNames

public String[] getJndiNames()

getHomeTxPolicyConfig

public Serializable getHomeTxPolicyConfig()
CORBA home transaction import policy configuration

Returns:
home transaction import policy

getRemoteTxPolicyConfig

public Serializable getRemoteTxPolicyConfig()
CORBA remote transaction import policy configuration

Returns:
remote transaction import policy

addPolicyOverrides

public Policy[] addPolicyOverrides(Policy[] policies)
Add the policy overrides (if any) to the list of policies used to create a POA instance.

Parameters:
policies - The base set of policies.
Returns:
A new Policy array with the overrides added. Returns the same array if no overrides are required.


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.