org.sape.carbon.services.jmx.server.weblogic
Interface WebLogicMBeanServerServiceConfiguration

All Superinterfaces:
ComponentConfiguration, Configuration

public interface WebLogicMBeanServerServiceConfiguration
extends ComponentConfiguration

This is the configuration for the WebLogicMBeanServerService.

The most common way to use this service is either to leave it using the standard component configuration or leave all values in this blank. This will cause the InitialContext to be built with no values in the environment and hence use the Principal/Credential that was used to start WebLogic.

If another principal/credential is needed this configuration may be used to specificy it. It will authenticate against the WebLogic security service.

Since:
carbon 1.0
Version:
$Revision: 1.4 $($Author: dvoet $ / $Date: 2003/05/05 21:21:32 $)
Copyright 2002 Sapient
Author:
Greg Hinkle, January 2002

Field Summary
 
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration
ComponentTemplateName
 
Method Summary
 String getCredentials()
          Accessor method for retrieving the default credential associated with this MBeanServer.
 String getInitialContextFactory()
          Accessor method for retrieving the InitialContextFactory to retreive proper InitialContext.
 String getPrincipal()
          Accessor method for retrieving the default principal associated with this MBeanServer.
 void setCredentials(String credentials)
          Mutator method for setting the default credentials associated with this MBeanServer.
 void setInitialContextFactory(String initialContextFactory)
          Mutator method for setting the InitialContextFactory associated with this home factory.
 void setPrincipal(String principal)
          Mutator method for setting the default principal associated with this MBeanServer.
 
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
 

Method Detail

getInitialContextFactory

public String getInitialContextFactory()
Accessor method for retrieving the InitialContextFactory to retreive proper InitialContext.

Leaving this item empty will not set an InitialContextFactory on the InitialContextObject.

Returns:
String The name of the InitialContextFactory associated with this home factory

setInitialContextFactory

public void setInitialContextFactory(String initialContextFactory)

Mutator method for setting the InitialContextFactory associated with this home factory.

Parameters:
initialContextFactory - The name of the class to be used as the InitialContextFactory for this MBeanServer fetcher factory

getPrincipal

public String getPrincipal()

Accessor method for retrieving the default principal associated with this MBeanServer.

Leaving this item empty will not set a principal on the InitialContext Object.

Returns:
String The default principal associated with this MBeanServer

setPrincipal

public void setPrincipal(String principal)

Mutator method for setting the default principal associated with this MBeanServer.

Parameters:
principal - The default principal

getCredentials

public String getCredentials()

Accessor method for retrieving the default credential associated with this MBeanServer.

Leaving this item empty will not set a credential on the InitialContext Object.

Returns:
String The default credentials associated with this MBeanServer

setCredentials

public void setCredentials(String credentials)

Mutator method for setting the default credentials associated with this MBeanServer.

Parameters:
credentials - The default credentials


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.