org.jboss.net.axis.server
Class JMXEngineConfigurationFactory

java.lang.Object
  extended byorg.jboss.net.axis.server.JMXEngineConfigurationFactory
All Implemented Interfaces:
EngineConfigurationFactory (src)

public class JMXEngineConfigurationFactory
extends java.lang.Object
implements EngineConfigurationFactory (src)

test

A configuration factory that accesses axis server engines via JMX attribute access.

Since:
9.9.2002

Field Summary
protected  ObjectName (src) objectName
           
protected  MBeanServer (src) server
           
 
Fields inherited from interface org.jboss.axis.EngineConfigurationFactory (src)
SYSTEM_PROPERTY_NAME
 
Constructor Summary
protected JMXEngineConfigurationFactory(java.lang.String name)
          construct a new factory tied to a particular engine provider mbean
 
Method Summary
protected  java.lang.Object getAttribute(java.lang.String attributeName)
          find attribute through JMX server and mbean
 AxisServer (src) getAxisServer()
          return axis server associated with mbean
 EngineConfiguration (src) getClientEngineConfig()
          Get a default client engine configuration.
 EngineConfiguration (src) getServerEngineConfig()
          Get a default server engine configuration.
static EngineConfigurationFactory (src) newFactory(java.lang.Object param)
          static method to create a new factory along the Axis spec
static JMXEngineConfigurationFactory (src) newJMXFactory(java.lang.String param)
          static method to create a new jmx factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectName

protected ObjectName (src)  objectName

server

protected MBeanServer (src)  server
Constructor Detail

JMXEngineConfigurationFactory

protected JMXEngineConfigurationFactory(java.lang.String name)
                                 throws MalformedObjectNameException (src) 
construct a new factory tied to a particular engine provider mbean

Method Detail

getAttribute

protected java.lang.Object getAttribute(java.lang.String attributeName)
find attribute through JMX server and mbean


getAxisServer

public AxisServer (src)  getAxisServer()
return axis server associated with mbean


getClientEngineConfig

public EngineConfiguration (src)  getClientEngineConfig()
Description copied from interface: EngineConfigurationFactory (src)
Get a default client engine configuration.

Specified by:
getClientEngineConfig in interface EngineConfigurationFactory (src)
Returns:
a client EngineConfiguration

getServerEngineConfig

public EngineConfiguration (src)  getServerEngineConfig()
Description copied from interface: EngineConfigurationFactory (src)
Get a default server engine configuration.

Specified by:
getServerEngineConfig in interface EngineConfigurationFactory (src)
Returns:
a server EngineConfiguration

newJMXFactory

public static JMXEngineConfigurationFactory (src)  newJMXFactory(java.lang.String param)
static method to create a new jmx factory

Parameters:
param - objectname of the server mbean
Returns:
a new factory bound to that mbean, if it exists

newFactory

public static EngineConfigurationFactory (src)  newFactory(java.lang.Object param)
static method to create a new factory along the Axis spec

Parameters:
param - specification of the configuration
Returns:
new factory, if the param represents an mbean object name