php.java.bridge.http
Interface IContextFactoryVisitor

All Superinterfaces:
IContextFactory, IJavaBridgeFactory
All Known Implementing Classes:
InvocablePhpServletContextFactory, PhpScriptContextFactory, PhpServletContextFactory, RemoteServletContextFactory, ServletContextFactory, SimpleContextFactory, SimpleServletContextFactory

public interface IContextFactoryVisitor
extends IContextFactory

Interface that ContextFactory visitors must implement.

Author:
jostb

Method Summary
 void initialize()
          Called when the context is requested
 void invalidate()
          Called at the end of the visitor's life cycle
 void visit(ContextFactory visited)
          Called when a visitor has been attached.
 
Methods inherited from interface php.java.bridge.http.IContextFactory
destroy, getClassLoader, getContext, getId, getSession, recycle, release, setClassLoader, setContext, waitFor, waitForInitializedContext
 
Methods inherited from interface php.java.bridge.IJavaBridgeFactory
getBridge, getJavaBridgeClassLoader, recycle
 

Method Detail

visit

void visit(ContextFactory visited)
Called when a visitor has been attached.

Parameters:
visited - The context factory

invalidate

void invalidate()
Called at the end of the visitor's life cycle


initialize

void initialize()
Called when the context is requested

See Also:
IContextFactory.waitForInitializedContext()