org.apache.servicemix.jbi.framework
Class SharedLibrary

java.lang.Object
  extended by org.apache.servicemix.jbi.framework.SharedLibrary
All Implemented Interfaces:
SharedLibraryMBean, MBeanInfoProvider

public class SharedLibrary
extends Object
implements SharedLibraryMBean, MBeanInfoProvider


Constructor Summary
SharedLibrary(SharedLibrary library, File installationDir)
           
 
Method Summary
 void dispose()
           
 MBeanAttributeInfo[] getAttributeInfos()
          Get an array of MBeanAttributeInfo
 ClassLoader getClassLoader()
           
 String getDescription()
          Get the Description of the item
 SharedLibrary getLibrary()
           
 String getName()
          Get the name of the item
 Object getObjectToManage()
          Get the Object to Manage
 MBeanOperationInfo[] getOperationInfos()
          Get an array of MBeanOperationInfo
 String getSubType()
          Get the type of this mbean
 String getType()
          Get the type of this mbean
 String getVersion()
           
 void setPropertyChangeListener(PropertyChangeListener l)
          Register for propertyChange events
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedLibrary

public SharedLibrary(SharedLibrary library,
                     File installationDir)
Method Detail

dispose

public void dispose()

getLibrary

public SharedLibrary getLibrary()
Returns:
the library

getClassLoader

public ClassLoader getClassLoader()

getDescription

public String getDescription()
Description copied from interface: MBeanInfoProvider
Get the Description of the item

Specified by:
getDescription in interface SharedLibraryMBean
Specified by:
getDescription in interface MBeanInfoProvider
Returns:
the description

getName

public String getName()
Description copied from interface: MBeanInfoProvider
Get the name of the item

Specified by:
getName in interface SharedLibraryMBean
Specified by:
getName in interface MBeanInfoProvider
Returns:
the name

getVersion

public String getVersion()
Specified by:
getVersion in interface SharedLibraryMBean

getObjectToManage

public Object getObjectToManage()
Description copied from interface: MBeanInfoProvider
Get the Object to Manage

Specified by:
getObjectToManage in interface MBeanInfoProvider
Returns:
the Object to Manage

getAttributeInfos

public MBeanAttributeInfo[] getAttributeInfos()
                                       throws JMException
Description copied from interface: MBeanInfoProvider
Get an array of MBeanAttributeInfo

Specified by:
getAttributeInfos in interface MBeanInfoProvider
Returns:
array of AttributeInfos
Throws:
JMException

getOperationInfos

public MBeanOperationInfo[] getOperationInfos()
                                       throws JMException
Description copied from interface: MBeanInfoProvider
Get an array of MBeanOperationInfo

Specified by:
getOperationInfos in interface MBeanInfoProvider
Returns:
array of OperationInfos
Throws:
JMException

getSubType

public String getSubType()
Description copied from interface: MBeanInfoProvider
Get the type of this mbean

Specified by:
getSubType in interface MBeanInfoProvider
Returns:
the type

getType

public String getType()
Description copied from interface: MBeanInfoProvider
Get the type of this mbean

Specified by:
getType in interface MBeanInfoProvider
Returns:
the type

setPropertyChangeListener

public void setPropertyChangeListener(PropertyChangeListener l)
Description copied from interface: MBeanInfoProvider
Register for propertyChange events

Specified by:
setPropertyChangeListener in interface MBeanInfoProvider


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.