com.sun.enterprise.transaction
Class TransactionNamingProxy

java.lang.Object
  extended by com.sun.enterprise.transaction.TransactionNamingProxy
All Implemented Interfaces:
NamedNamingObjectProxy, NamingObjectsProvider, org.jvnet.hk2.component.PostConstruct

@Service
public class TransactionNamingProxy
extends java.lang.Object
implements NamedNamingObjectProxy, NamingObjectsProvider, org.jvnet.hk2.component.PostConstruct

Proxy for creating JTA instances that get registered in the naming manager. NamingManager will call the handle() method when the JNDI name is looked up. Will return the instance that corresponds to the known name.

Author:
Marina Vatkina

Constructor Summary
TransactionNamingProxy()
           
 
Method Summary
 java.lang.Object handle(java.lang.String name)
           
 void postConstruct()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionNamingProxy

public TransactionNamingProxy()
Method Detail

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct

handle

public java.lang.Object handle(java.lang.String name)
                        throws javax.naming.NamingException
Specified by:
handle in interface NamedNamingObjectProxy
Throws:
javax.naming.NamingException


Copyright © 2012 GlassFish Community. All Rights Reserved.