com.caucho.config.inject
Class WebBeanAdmin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.config.inject.WebBeanAdmin
All Implemented Interfaces:
ManagedObjectMXBean, WebBeanMXBean

public class WebBeanAdmin
extends AbstractManagedObject
implements WebBeanMXBean

Administration for a JMS queue


Constructor Summary
WebBeanAdmin(Bean<?> bean, int id)
           
 
Method Summary
protected  void addObjectNameProperties(java.util.Map<java.lang.String,java.lang.String> props)
          Adds unique properties
 java.lang.String getBeanSimpleType()
          Returns the bean type
 java.lang.String[] getBeanTypes()
          Returns all the bean's types
 int getId()
          Returns the unique id
 java.lang.String getName()
          Returns the bean's name
 java.lang.String[] getQualifiers()
          Returns all the bean's binding types
 java.lang.String getScope()
          Returns the @ScopeType attribute
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
getObjectName, getType, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getObjectName, getType
 

Constructor Detail

WebBeanAdmin

public WebBeanAdmin(Bean<?> bean,
                    int id)
Method Detail

getId

public int getId()
Returns the unique id


getName

public java.lang.String getName()
Returns the bean's name

Specified by:
getName in interface ManagedObjectMXBean
Specified by:
getName in class AbstractManagedObject

getBeanSimpleType

public java.lang.String getBeanSimpleType()
Returns the bean type


getBeanTypes

public java.lang.String[] getBeanTypes()
Returns all the bean's types

Specified by:
getBeanTypes in interface WebBeanMXBean

getQualifiers

public java.lang.String[] getQualifiers()
Returns all the bean's binding types

Specified by:
getQualifiers in interface WebBeanMXBean

getScope

public java.lang.String getScope()
Returns the @ScopeType attribute

Specified by:
getScope in interface WebBeanMXBean

addObjectNameProperties

protected void addObjectNameProperties(java.util.Map<java.lang.String,java.lang.String> props)
Adds unique properties

Overrides:
addObjectNameProperties in class AbstractManagedObject