org.tranql.ejb
Class LocalProxyTransform

java.lang.Object
  extended byorg.tranql.ejb.LocalProxyTransform
All Implemented Interfaces:
IdentityTransform, java.io.Serializable

public class LocalProxyTransform
extends java.lang.Object
implements IdentityTransform

Identity transform that converts between an EJBLocalObject reference and a global id for the cache.

Version:
$Revision: 57 $ $Date: 2004-04-21 23:45:17 +0200 (Wed, 21 Apr 2004) $
See Also:
Serialized Form

Constructor Summary
LocalProxyTransform(IdentityTransform next, EJBProxyFactory factory)
           
 
Method Summary
 java.lang.Object getDomainIdentity(GlobalIdentity globalId)
           
 GlobalIdentity getGlobalIdentity(java.lang.Object domainId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalProxyTransform

public LocalProxyTransform(IdentityTransform next,
                           EJBProxyFactory factory)
Method Detail

getGlobalIdentity

public GlobalIdentity getGlobalIdentity(java.lang.Object domainId)
                                 throws IdentityTransformException
Specified by:
getGlobalIdentity in interface IdentityTransform
Throws:
IdentityTransformException

getDomainIdentity

public java.lang.Object getDomainIdentity(GlobalIdentity globalId)
                                   throws IdentityTransformException
Specified by:
getDomainIdentity in interface IdentityTransform
Throws:
IdentityTransformException


Copyright © -2006 The Codehaus. All Rights Reserved.