| org.jboss.ha.framework.server.FarmMemberService
FarmMemberService | public class FarmMemberService extends URLDeploymentScanner implements FarmMemberServiceMBean(Code) | | author: Andreas Schaefer author: Bill Burke version: $Revision: 57254 $ version: 20021014 andreas schaefer: version: version: - Initial import
version:
version: 20020809 bill burke: version: version: - Rewrote as a Scanner instead. Also on boot-up asks cluster for deployable files
version:
|
SERVICE_NAME | final protected static String SERVICE_NAME(Code) | | |
mBackgroundPartition | protected String mBackgroundPartition(Code) | | |
createService | protected void createService() throws Exception(Code) | | Looks up the Server Config instance to figure out the
temp-directory and the farm-deploy-directory
|
createUnexistingLocalDir | protected void createUnexistingLocalDir()(Code) | | |
deploy | protected void deploy(DeployedURL du)(Code) | | |
preRegister | public ObjectName preRegister(MBeanServer pServer, ObjectName pName) throws Exception(Code) | | Saves the MBeanServer reference, create the Farm Member Name and
add its Notification Listener to listen for Deployment / Undeployment
notifications from the
org.jboss.deployment.MainDeployer MainDeployer .
|
setFarmDeployDirectory | public void setFarmDeployDirectory(String urls) throws MalformedURLException(Code) | | Backward compatibility, mapped to the URLs attribute of URLDeploymentScannerMBean
|
setPartitionName | public void setPartitionName(String pPartitionName)(Code) | | |
setScannerName | public void setScannerName(String name)(Code) | | Backward compatibility, but ignored as it does nothing.
|
startService | protected void startService() throws Exception(Code) | | Register itself as RPC-Handler to the HA-Partition
and add the farm deployment directory to the scanner
|
undeploy | protected void undeploy(DeployedURL du)(Code) | | |
|
|