org.jboss.services.binding
Interface ServiceBindingManagerMBean

All Superinterfaces:
org.jboss.system.ServiceBinding
All Known Implementing Classes:
ServiceBindingManager

public interface ServiceBindingManagerMBean
extends org.jboss.system.ServiceBinding

ServiceBindingManager MBean interface

Version:
$Revision: 57210 $
Author:
Mike Finn, Scott.Stark@jboss.org, Dimitris Andreadis

Field Summary
static javax.management.ObjectName OBJECT_NAME
          Default ObjectName
 
Method Summary
 String getServerName()
           
 ServiceConfig getServiceConfig(javax.management.ObjectName serviceName)
          Looks up the service config for the given service, using the server name bound to this mbean.
 javax.management.ObjectName getServiceController()
           
 String getStoreFactoryClassName()
           
 URL getStoreURL()
           
 void setServerName(String serverName)
          The name of the server this manager is associated with.
 void setServiceController(javax.management.ObjectName serviceController)
          The ObjectName of the ServiceController, defaults to ServiceControllerMBean.OBJECT_NAME
 void setStoreFactoryClassName(String storeFactoryClassName)
          The name of the class implementation of the ServicesStoreFatory.
 void setStoreURL(URL storeURL)
          The URL of the configuration store.
 
Methods inherited from interface org.jboss.system.ServiceBinding
applyServiceConfig
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
Default ObjectName

Method Detail

setServerName

void setServerName(String serverName)
The name of the server this manager is associated with. This is a logical name used to lookup ServiceConfigs from the ServicesStore.


getServerName

String getServerName()

setStoreFactoryClassName

void setStoreFactoryClassName(String storeFactoryClassName)
The name of the class implementation of the ServicesStoreFatory. The default value is org.jboss.services.binding.XMLServicesStoreFactory.


getStoreFactoryClassName

String getStoreFactoryClassName()

setStoreURL

void setStoreURL(URL storeURL)
The URL of the configuration store.


getStoreURL

URL getStoreURL()

setServiceController

void setServiceController(javax.management.ObjectName serviceController)
                          throws Exception
The ObjectName of the ServiceController, defaults to ServiceControllerMBean.OBJECT_NAME

Throws:
Exception

getServiceController

javax.management.ObjectName getServiceController()

getServiceConfig

ServiceConfig getServiceConfig(javax.management.ObjectName serviceName)
                               throws Exception
Looks up the service config for the given service, using the server name bound to this mbean.

Parameters:
serviceName - the JMX ObjectName of the service
Returns:
ServiceConfig instance if found, null otherwise
Throws:
Exception


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