org.sape.carbon.services.management.interceptor
Interface ManagementInterceptorConfiguration

All Superinterfaces:
Configuration

public interface ManagementInterceptorConfiguration
extends Configuration

This Configuration object is used to configure the default ManagementInterceptor. It configures what MBeanServerService to use and whether or not to send notifications during lifecycle changes. Copyright 2002 Sapient

Since:
carbon 1.1
Version:
$Revision: 1.4 $($Author: dvoet $ / $Date: 2003/05/05 21:21:33 $)
Author:
Greg Hinkle, October 2002

Field Summary
static String mBeanServerService
          /manage/DefaultMBeanServer
static String ObjectNameDomain
          CarbonComponent
static boolean sendNotifications
          true
static boolean UsingVMID
          false
 
Method Summary
 String getEnvironmentName()
          Gets the object environment name
 String getInstanceName()
          Gets the object instance name
 String getMBeanServerServiceLocation()
          Gets the config location of teh MBeanServerService.
 String getObjectNameDomain()
          Gets the object name domain
 boolean isSendNotifications()
          Indicates if the interceptor sends notifications.
 boolean isUsingVMID()
          Indicates if the interceptor is using the VM id
 void setEnvironmentName(String environmentName)
          Sets the object environment name
 void setInstanceName(String instanceName)
          Sets the object instance name
 void setMBeanServerServiceLocation(String serverServiceLocation)
          Sets the config location of teh MBeanServerService.
 void setObjectNameDomain(String domainName)
          Sets the object name domain
 void setSendNotifications(boolean shouldSend)
          Sets if the interceptor sends notifications.
 void setUsingVMID(boolean useVMID)
          Sets if the interceptor is using the VM id
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Field Detail

mBeanServerService

public static final String mBeanServerService
/manage/DefaultMBeanServer

See Also:
Constant Field Values

sendNotifications

public static final boolean sendNotifications
true

See Also:
Constant Field Values

ObjectNameDomain

public static final String ObjectNameDomain
CarbonComponent

See Also:
Constant Field Values

UsingVMID

public static final boolean UsingVMID
false

See Also:
Constant Field Values
Method Detail

getMBeanServerServiceLocation

public String getMBeanServerServiceLocation()
Gets the config location of teh MBeanServerService.

Returns:
config location of teh MBeanServerService

setMBeanServerServiceLocation

public void setMBeanServerServiceLocation(String serverServiceLocation)
Sets the config location of teh MBeanServerService.

Parameters:
serverServiceLocation - config location of teh MBeanServerService

isSendNotifications

public boolean isSendNotifications()
Indicates if the interceptor sends notifications.

Returns:
if the interceptor sends notifications

setSendNotifications

public void setSendNotifications(boolean shouldSend)
Sets if the interceptor sends notifications.

Parameters:
shouldSend - if the interceptor sends notifications

getObjectNameDomain

public String getObjectNameDomain()
Gets the object name domain

Returns:
the object name domain

setObjectNameDomain

public void setObjectNameDomain(String domainName)
Sets the object name domain

Parameters:
domainName - the object name domain

getEnvironmentName

public String getEnvironmentName()
Gets the object environment name

Returns:
the object environment name

setEnvironmentName

public void setEnvironmentName(String environmentName)
Sets the object environment name

Parameters:
environmentName - the object environment name

getInstanceName

public String getInstanceName()
Gets the object instance name

Returns:
the object instance name

setInstanceName

public void setInstanceName(String instanceName)
Sets the object instance name

Parameters:
instanceName - the object instance name

isUsingVMID

public boolean isUsingVMID()
Indicates if the interceptor is using the VM id

Returns:
if the interceptor is using the VM id

setUsingVMID

public void setUsingVMID(boolean useVMID)
Sets if the interceptor is using the VM id

Parameters:
useVMID - if the interceptor is using the VM id


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.