org.apache.webbeans.context
Class PassivatingContext

java.lang.Object
  extended by org.apache.webbeans.context.AbstractContext
      extended by org.apache.webbeans.context.PassivatingContext
All Implemented Interfaces:
Externalizable, Serializable, javax.enterprise.context.spi.AlterableContext, javax.enterprise.context.spi.Context
Direct Known Subclasses:
ConversationContext, SessionContext

public abstract class PassivatingContext
extends AbstractContext
implements Serializable, Externalizable

Base class for passivating contexts. It basically provides serialisation support

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.webbeans.context.AbstractContext
active, componentInstanceMap, scopeType
 
Constructor Summary
PassivatingContext(Class<? extends Annotation> scopeType)
           
 
Method Summary
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.apache.webbeans.context.AbstractContext
checkActive, destroy, destroy, destroyInstance, get, get, getInstance, getScope, isActive, setActive, setComponentInstanceMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassivatingContext

public PassivatingContext(Class<? extends Annotation> scopeType)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.