|
||||||||||
| 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 JavaBridge 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 IJavaBridgeFactoryUtil.getContextClassLoader()
public abstract ISession getSession(java.lang.String name,
boolean clientIsNew,
int timeout)
getSession in interface IJavaBridgeFactoryname - 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.
ISessionpublic abstract IContext getContext()
getContext in interface IJavaBridgeFactoryContextFactory.getContext()public JavaBridge getBridge()
getBridge in interface IJavaBridgeFactorypublic void recycle()
recycle in interface IJavaBridgeFactorypublic void destroy()
destroy in interface IJavaBridgeFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||