|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mobicents.media.server.bootstrap.MainDeployer
public class MainDeployer
Simplified deployement framework designed for hot deployement of endpoints and media components. Deployement is represented by tree of folders. Each folder may contains one or more deployement descriptors. The most top deployment directory is referenced as root. Maindeployer creates recursively HDScanner for root and each nested directoty. The HDScanner corresponding to the root directory is triggered periodicaly by local timer and in it order starts nested scanners recursively.
| Constructor Summary | |
|---|---|
MainDeployer()
Creates new instance of deployer. |
|
| Method Summary | |
|---|---|
java.io.FileFilter |
getFileFilter()
Gets the filter used by Deployer to select files for deployement. |
java.lang.String |
getPath()
Gets the path to the to the root deployment directory. |
void |
setFileFilter(java.io.FileFilter fileFilter)
Assigns file filter used for selection files for deploy. |
void |
setPath(java.lang.String path)
Modify the path to the root deployment directory |
void |
start(org.jboss.kernel.Kernel kernel,
org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer kernelDeployer)
Starts main deployer. |
void |
stop()
Shuts down deployer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MainDeployer()
| Method Detail |
|---|
public java.lang.String getPath()
public void setPath(java.lang.String path)
path - public java.io.FileFilter getFileFilter()
public void setFileFilter(java.io.FileFilter fileFilter)
fileFilter - the file filter object.
public void start(org.jboss.kernel.Kernel kernel,
org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer kernelDeployer)
throws java.lang.Throwable
kernel - the jboss microntainer kernel instance.kernelDeployer - the jboss basic deployer.
java.lang.Throwablepublic void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||