|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.DefaultServerContextBuilder
public class DefaultServerContextBuilder
A ServerContextBuilder that creates DefaultServerContexts.
| Constructor Summary | |
|---|---|
DefaultServerContextBuilder()
|
|
| Method Summary | |
|---|---|
ServerContext |
attach(Container container)
This method should be called during setup only. |
ServerContext |
get()
Get the object that is associated with this thread, assuming that there is no confusion over the current ServerContext. |
ServerContext |
get(ServerContext context)
Get the object that is associated with this thread, whilst specifying the correct ServerContext. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultServerContextBuilder()
| Method Detail |
|---|
public ServerContext get()
BuilderServerContext.
There is more than one ServerContext then you need to use
Builder.get(ServerContext) to ensure that the correct one is used.
get in interface Builder<ServerContext>public ServerContext get(ServerContext context)
BuilderServerContext.
get in interface Builder<ServerContext>context - The web application environment
public ServerContext attach(Container container)
BuilderInitializingBean.afterContainerSetup(org.directwebremoting.Container)
except that it is called by Factory.attach(org.directwebremoting.Container) which is
called after the container has finished setting itself up so we can
rely on ServerContextFactory.get() working.
attach in interface Builder<ServerContext>
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||