org.jboss.ha.framework.server
Interface FarmMemberServiceMBean

All Superinterfaces:
org.jboss.deployment.scanner.DeploymentScannerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean, org.jboss.deployment.scanner.URLDeploymentScannerMBean
All Known Implementing Classes:
FarmMemberService

public interface FarmMemberServiceMBean
extends org.jboss.deployment.scanner.URLDeploymentScannerMBean

Version:
$Revision: 1.10.6.4 $

20020809 bill burke:

Author:
Bill Burke

Field Summary
static javax.management.ObjectName OBJECT_NAME
          The default 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
 
Method Summary
 ClusterPartitionMBean getClusterPartition()
          Get the underlying partition used by this service.
 String getPartitionName()
          Gets the name of the HAPartition used by this service.
 void setClusterPartition(ClusterPartitionMBean clusterPartition)
          Sets the underlying partition used by this service.
 void setFarmDeployDirectory(String urls)
          Deprecated.  
 void setPartitionName(String name)
          Sets the name of the HAPartition used by this service.
 void setScannerName(String name)
          Deprecated.  
 
Methods inherited from interface org.jboss.deployment.scanner.URLDeploymentScannerMBean
addURL, addURL, getFilter, getFilterInstance, getRecursiveSearch, getURLComparator, getURLList, hasURL, hasURL, listDeployedURLs, removeURL, removeURL, resumeDeployment, setFilter, setFilterInstance, setRecursiveSearch, setURLComparator, setURLList, setURLs, suspendDeployment
 
Methods inherited from interface org.jboss.deployment.scanner.DeploymentScannerMBean
getDeployer, getStopTimeOut, isScanEnabled, scan, setDeployer, setScanEnabled, setScanPeriod, setStopTimeOut
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
The default object name.

Method Detail

getPartitionName

String getPartitionName()
Gets the name of the HAPartition used by this service.

Returns:
the name of the partition

setPartitionName

void setPartitionName(String name)
Sets the name of the HAPartition used by this service. Can be set only when the MBean is not in a STARTED or STARTING state.

Parameters:
name - the name of the partition

getClusterPartition

ClusterPartitionMBean getClusterPartition()
Get the underlying partition used by this service.

Returns:
the partition

setClusterPartition

void setClusterPartition(ClusterPartitionMBean clusterPartition)
Sets the underlying partition used by this service. Can be set only when the MBean is not in a STARTED or STARTING state.

Parameters:
clusterPartition - the partition

setFarmDeployDirectory

void setFarmDeployDirectory(String urls)
                            throws MalformedURLException
Deprecated. 

Backward compatibility, mapped to the URLs attribute of URLDeploymentScannerMBean

Throws:
MalformedURLException

setScannerName

void setScannerName(String name)
Deprecated. 

Backward compatibility, but ignored as it does nothing.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.