|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.deployment.scanner.AbstractDeploymentScanner
org.jboss.deployment.scanner.URLDeploymentScanner
org.jboss.ha.framework.server.FarmMemberService
public class FarmMemberService
20021014 andreas schaefer:
20020809 bill burke:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.deployment.scanner.URLDeploymentScanner |
---|
URLDeploymentScanner.DeployedURL |
Nested classes/interfaces inherited from class org.jboss.deployment.scanner.AbstractDeploymentScanner |
---|
AbstractDeploymentScanner.ScannerThread |
Field Summary | |
---|---|
protected org.jboss.ha.framework.interfaces.HAPartition |
mClusterPartition
Deprecated. |
protected HashMap |
parentDUMap
Deprecated. |
protected ArrayList |
remotelyDeployed
Deprecated. |
protected ArrayList |
remotelyUndeployed
Deprecated. |
protected static String |
SERVICE_NAME
Deprecated. |
Fields inherited from class org.jboss.deployment.scanner.URLDeploymentScanner |
---|
deployedSet, doRecursiveSearch, filter, lastIncompleteDeploymentException, listerFactory, serverHome, serverHomeURL, skipSet, sorter, urlList |
Fields inherited from class org.jboss.deployment.scanner.AbstractDeploymentScanner |
---|
deployer, mainDeployer, scanEnabled, scannerThread, scanPeriod, stopTimeOut |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.ha.framework.server.FarmMemberServiceMBean |
---|
OBJECT_NAME |
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
---|---|
FarmMemberService()
Deprecated. |
Method Summary | |
---|---|
protected void |
createService()
Deprecated. Looks up the Server Config instance to figure out the temp-directory and the farm-deploy-directory |
protected void |
createUnexistingLocalDir()
Deprecated. |
protected void |
deploy(URLDeploymentScanner.DeployedURL du)
Deprecated. |
void |
farmDeploy(String parentName,
File destFile,
Date date)
Deprecated. |
HashMap |
farmDeployments()
Deprecated. |
void |
farmUndeploy(String parentName,
String fileName)
Deprecated. |
protected File |
findParent(String parentName)
Deprecated. |
org.jboss.ha.framework.interfaces.HAPartition |
getHAPartition()
Deprecated. Get the underlying partition used by this service. |
String |
getName()
Deprecated. |
String |
getPartitionName()
Deprecated. Gets the name of the partition used by this service. |
protected void |
pullNewDeployments(org.jboss.ha.framework.interfaces.HAPartition partition,
HashMap farmed)
Deprecated. |
void |
setFarmDeployDirectory(String urls)
Deprecated. |
void |
setHAPartition(org.jboss.ha.framework.interfaces.HAPartition clusterPartition)
Deprecated. Sets the underlying partition used by this service. |
void |
setScannerName(String name)
Deprecated. |
protected void |
startService()
Deprecated. Register itself as RPC-Handler to the HA-Partition and add the farm deployment directory to the scanner |
protected void |
undeploy(URLDeploymentScanner.DeployedURL du)
Deprecated. |
Methods inherited from class org.jboss.deployment.scanner.URLDeploymentScanner |
---|
addURL, addURL, getFilter, getFilterInstance, getRecursiveSearch, getURLComparator, getURLList, hasURL, hasURL, isDeployed, listDeployedURLs, makeURL, preRegister, removeURL, removeURL, resumeDeployment, scan, setFilter, setFilterInstance, setRecursiveSearch, setURLComparator, setURLList, setURLs, suspendDeployment, updateSorter |
Methods inherited from class org.jboss.deployment.scanner.AbstractDeploymentScanner |
---|
destroyService, getDeployer, getScanPeriod, getStopTimeOut, isScanEnabled, setDeployer, setScanEnabled, setScanPeriod, setStopTimeOut, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.deployment.scanner.DeploymentScanner |
---|
getDeployer, getScanPeriod, isScanEnabled, setDeployer, setScanEnabled, setScanPeriod |
Methods inherited from interface org.jboss.deployment.scanner.DeploymentScannerMBean |
---|
getDeployer, getStopTimeOut, isScanEnabled, setDeployer, setScanEnabled, setScanPeriod, setStopTimeOut |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Field Detail |
---|
protected org.jboss.ha.framework.interfaces.HAPartition mClusterPartition
protected static final String SERVICE_NAME
protected HashMap parentDUMap
protected ArrayList remotelyDeployed
protected ArrayList remotelyUndeployed
Constructor Detail |
---|
public FarmMemberService()
Method Detail |
---|
public String getPartitionName()
FarmMemberServiceMBean
getPartitionName
in interface FarmMemberServiceMBean
public org.jboss.ha.framework.interfaces.HAPartition getHAPartition()
FarmMemberServiceMBean
getHAPartition
in interface FarmMemberServiceMBean
public void setHAPartition(org.jboss.ha.framework.interfaces.HAPartition clusterPartition)
FarmMemberServiceMBean
setHAPartition
in interface FarmMemberServiceMBean
clusterPartition
- the partitionpublic void setFarmDeployDirectory(String urls) throws MalformedURLException
MalformedURLException
public void setScannerName(String name)
public String getName()
getName
in interface ServiceMBean
getName
in class ServiceMBeanSupport
protected void createService() throws Exception
createService
in class URLDeploymentScanner
Exception
protected void startService() throws Exception
startService
in class AbstractDeploymentScanner
Exception
protected void pullNewDeployments(org.jboss.ha.framework.interfaces.HAPartition partition, HashMap farmed)
protected File findParent(String parentName)
public HashMap farmDeployments()
public void farmDeploy(String parentName, File destFile, Date date)
public void farmUndeploy(String parentName, String fileName)
protected void deploy(URLDeploymentScanner.DeployedURL du)
deploy
in class URLDeploymentScanner
protected void undeploy(URLDeploymentScanner.DeployedURL du)
undeploy
in class URLDeploymentScanner
protected void createUnexistingLocalDir()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |