|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.make.CachedDependency
com.caucho.env.deploy.DeployContainer<C>
public class DeployContainer<C extends DeployControllerApi<?>>
A container of deploy objects.
Nested Class Summary | |
---|---|
class |
DeployContainer.StartupPriorityComparator
|
Constructor Summary | |
---|---|
DeployContainer(java.lang.Class<C> type)
Creates the deploy container. |
Method Summary | |
---|---|
void |
add(DeployGenerator<C> generator)
Adds a deploy generator. |
void |
destroy()
Closes the deploys. |
C |
findController(java.lang.String name)
Returns the matching entry. |
C |
findControllerById(java.lang.String name)
Returns the matching entry. |
C[] |
getControllers()
Returns the deployed entries. |
void |
init()
Initialize the container. |
boolean |
isModifiedImpl()
Returns true if the deployment has modified. |
boolean |
logModified(java.util.logging.Logger log)
Logs the reason for modification. |
void |
remove(DeployGenerator<C> generator)
Removes a deploy. |
void |
remove(java.lang.String name)
Called to explicitly remove an entry from the cache. |
void |
start()
Start the container. |
void |
stop()
Closes the stop. |
java.lang.String |
toString()
|
void |
update()
Forces updates. |
C |
update(java.lang.String name)
Callback from the DeployGenerator when the deployment changes. |
C |
updateNoStart(java.lang.String name)
Callback from the DeployGenerator when the deployment changes. |
Methods inherited from class com.caucho.make.CachedDependency |
---|
getCheckInterval, isModified, setCheckInterval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.caucho.vfs.Dependency |
---|
isModified |
Constructor Detail |
---|
public DeployContainer(java.lang.Class<C> type)
Method Detail |
---|
public void add(DeployGenerator<C> generator)
add
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public void remove(DeployGenerator<C> generator)
remove
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public boolean isModifiedImpl()
isModifiedImpl
in class CachedDependency
public boolean logModified(java.util.logging.Logger log)
logModified
in interface Dependency
public void update()
update
in interface DeployContainerApi<C extends DeployControllerApi<?>>
@PostConstruct public void init()
public void start()
start
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public C findController(java.lang.String name)
findController
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public C findControllerById(java.lang.String name)
findControllerById
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public C[] getControllers()
getControllers
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public C update(java.lang.String name)
update
is only called when a deployment is added
or removed, e.g. with a new .war file.
The entry handles its own internal changes, e.g. a modification to
a web.xml file.
update
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public C updateNoStart(java.lang.String name)
update
is only called when a deployment is added
or removed, e.g. with a new .war file.
The entry handles its own internal changes, e.g. a modification to
a web.xml file.
public void remove(java.lang.String name)
remove
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public void stop()
stop
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public void destroy()
destroy
in interface DeployContainerApi<C extends DeployControllerApi<?>>
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |