|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectphp.java.bridge.JavaBridgeFactory
public abstract class JavaBridgeFactory
Create new session or context instances
Session
,
Context
,
Context
,
ContextFactory
,
ServletContextFactory
,
PhpScriptContextFactory
Constructor Summary | |
---|---|
JavaBridgeFactory()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the factory |
JavaBridge |
getBridge()
Return the JavaBridge. |
abstract IContext |
getContext()
Return the associated JSR223 context |
abstract SimpleJavaBridgeClassLoader |
getJavaBridgeClassLoader()
Return an instance of the JavaBridgeClassLoader |
abstract ISession |
getSession(java.lang.String name,
boolean clientIsNew,
int timeout)
Return a session for the JavaBridge |
void |
recycle()
Recycle the factory for new reqests. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaBridgeFactory()
Method Detail |
---|
public abstract SimpleJavaBridgeClassLoader getJavaBridgeClassLoader()
getJavaBridgeClassLoader
in interface IJavaBridgeFactory
Util.getContextClassLoader()
public abstract ISession getSession(java.lang.String name, boolean clientIsNew, int timeout)
getSession
in interface IJavaBridgeFactory
name
- The session name. If name is null, the name PHPSESSION will be used.clientIsNew
- true if the client wants a new sessiontimeout
- timeout in seconds. If 0 the session does not expire.
ISession
public abstract IContext getContext()
getContext
in interface IJavaBridgeFactory
ContextFactory.getContext()
public JavaBridge getBridge()
getBridge
in interface IJavaBridgeFactory
public void recycle()
recycle
in interface IJavaBridgeFactory
public void destroy()
destroy
in interface IJavaBridgeFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |