FileDocCategorySizeDatePackage
EJBLocalRemoteObject.javaAPI DocGlassfish v2 API4145Fri May 04 22:32:58 BST 2007com.sun.ejb.containers

EJBLocalRemoteObject

public abstract class EJBLocalRemoteObject extends Object
Implementation common to EJBObjects and EJBLocalObjects. It is extended by EJBObjectImpl and EJBLocalObjectImpl.

Fields Summary
protected static final boolean
debug
protected transient BaseContainer
container
protected transient Object
primaryKey
private transient boolean
removed
private transient SessionContextImpl
context
private long
sfsbClientVersion
Constructors Summary
Methods Summary
final Container_getContainerInternal()

        return container;
    
final voidclearContext()

        context = null;
    
protected final ContainergetContainer()
Container needs to be accessed from generated code as well as from other classes in this package. Rather than having one public method, we have a protected one that is used from generated code and a package-private one used within other container classes.

        return container;
    
final SessionContextImplgetContext()

        return context;
    
final java.lang.ObjectgetKey()

        return primaryKey;
    
public longgetSfsbClientVersion()

        return this.sfsbClientVersion;
    
final booleanisRemoved()

        return removed;
    
final voidsetContainer(Container container)

    

       
    
        this.container = (BaseContainer)container;
    
final voidsetContext(SessionContextImpl ctx)

        context = ctx;
    
final voidsetKey(java.lang.Object key)

        primaryKey = key;
    
final voidsetRemoved(boolean r)

        removed = r;
    
public voidsetSfsbClientVersion(long sfsbClientVersion)

        this.sfsbClientVersion = sfsbClientVersion;