org.sape.carbon.services.jmx.server.mx4j
Interface JrmpRemotingConfiguration

All Superinterfaces:
ComponentConfiguration, Configuration

public interface JrmpRemotingConfiguration
extends ComponentConfiguration

This is the base template for a new Component Configuration.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.4 $($Author: dvoet $ / $Date: 2003/05/05 21:21:31 $)
Author:
Greg Hinkle, June 2002

Field Summary
static String Hostname
          localhost
static String InitialContextFactoryClass
          com.sun.jndi.rmi.registry.RegistryContextFactory
static String MBeanServerService
          ref:///manage/DefaultMBeanServer
static int Port
          1099
 
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration
ComponentTemplateName
 
Method Summary
 String getHostname()
          Gets the hostname of the machine exposing the Jrmp port.
 Class getInitialContextFactoryClass()
          Gets the class for use as the InitialContext.
 MBeanServerService getMBeanServerService()
          Gets the MBeanServer to expose through the adaptor.
 int getPort()
          Gets the port to expose the Jrmp connection on.
 void setHostname(String hostname)
          Sets the hostname of the machine exposing the Jrmp port.
 void setInitialContextFactoryClass(Class initialContextFactory)
          Sets the class for use as the InitialContext.
 void setMBeanServerService(MBeanServerService mbeanServerService)
          Sets the MBeanServer to expose through the adaptor.
 void setPort(int port)
          Sets the port to expose the Jrmp connection on.
 
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface
 
Methods inherited from interface org.sape.carbon.core.config.Configuration
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly
 

Field Detail

Port

public static final int Port
1099

See Also:
Constant Field Values

Hostname

public static final String Hostname
localhost

See Also:
Constant Field Values

MBeanServerService

public static final String MBeanServerService
ref:///manage/DefaultMBeanServer

See Also:
Constant Field Values

InitialContextFactoryClass

public static final String InitialContextFactoryClass
com.sun.jndi.rmi.registry.RegistryContextFactory

See Also:
Constant Field Values
Method Detail

getPort

public int getPort()
Gets the port to expose the Jrmp connection on.

Returns:
the port to expose the Jrmp connection on

setPort

public void setPort(int port)
Sets the port to expose the Jrmp connection on.

Parameters:
port - the port to expose the Jrmp connection on

getHostname

public String getHostname()
Gets the hostname of the machine exposing the Jrmp port.

Returns:
the hostname of the machine exposing the Jrmp port

setHostname

public void setHostname(String hostname)
Sets the hostname of the machine exposing the Jrmp port.

Parameters:
hostname - the hostname of the machine exposing the Jrmp port

getMBeanServerService

public MBeanServerService getMBeanServerService()
Gets the MBeanServer to expose through the adaptor.

Returns:
the BeanServer to expose through the adaptor

setMBeanServerService

public void setMBeanServerService(MBeanServerService mbeanServerService)
Sets the MBeanServer to expose through the adaptor.

Parameters:
mbeanServerService - the BeanServer to expose through the adaptor

getInitialContextFactoryClass

public Class getInitialContextFactoryClass()
Gets the class for use as the InitialContext.

Returns:
the class for use as the InitialContext

setInitialContextFactoryClass

public void setInitialContextFactoryClass(Class initialContextFactory)
Sets the class for use as the InitialContext.

Parameters:
initialContextFactory - the class for use as the InitialContext


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.