|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJavaBridgeFactory
Create PHP/Java Bridge instances.
Method Summary | |
---|---|
void |
destroy()
Destroy the factory |
JavaBridge |
getBridge()
Return the JavaBridge. |
IContext |
getContext()
Return the associated JSR223 context |
SimpleJavaBridgeClassLoader |
getJavaBridgeClassLoader()
Return an instance of the JavaBridgeClassLoader. |
ISession |
getSession(java.lang.String name,
boolean clientIsNew,
int timeout)
Return a session for the JavaBridge |
void |
recycle()
Recycle the factory for new reqests. |
Method Detail |
---|
SimpleJavaBridgeClassLoader getJavaBridgeClassLoader()
Util.getContextClassLoader()
ISession getSession(java.lang.String name, boolean clientIsNew, int timeout)
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
IContext getContext()
ContextFactory.getContext()
JavaBridge getBridge()
void recycle()
void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |