|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.DefaultBuilder<T>
public class DefaultBuilder<T>
A Builder that creates DefaultHubs.
| Constructor Summary | |
|---|---|
DefaultBuilder(java.lang.Class<? extends T> created)
This method calls created.getConstructor(constructorParameters) in order to find a constructor which the Builder can use |
|
| Method Summary | |
|---|---|
T |
attach(Container container)
This method should be called during setup only. |
T |
get()
Get the object that is associated with this thread, assuming that there is no confusion over the current ServerContext. |
T |
get(ServerContext serverContext)
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 DefaultBuilder(java.lang.Class<? extends T> created)
created - The type we wish to create| Method Detail |
|---|
public T 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<T>public T get(ServerContext serverContext)
BuilderServerContext.
get in interface Builder<T>serverContext - The web application environment
public T 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<T>
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||