Openwings API Documentation (v1.1)

net.openwings.management
Interface ManagementPolicy

All Superinterfaces:
Policy, java.io.Serializable

public interface ManagementPolicy
extends Policy

This interface defines a policy which describes configurable management parameters of a component that should be registered upon initialization of the Manager:


Method Summary
 java.lang.Class[] getMBeanAdapterClasses()
          This method returns the MBeanAdapters to be used by the Manager
 java.lang.Class[] getMBeanClasses()
          This method returns the default MBeans to be created by the Manager
 UserInterfaceFactory[] getUserInterfaceFactories()
          This method returns the UserInterfaceFactorys that correspond to the default MBeans
 void setMBeanAdapterClasses(java.lang.Class[] mBeanAdapterClasses)
          This method sets the MBeanAdapters to be used by the Manager
 void setMBeanClasses(java.lang.Class[] mBeanClasses)
          This method sets the default MBeans to be created by the Manager
 void setUserInterfaceFactories(UserInterfaceFactory[] userInterfaceFactories)
          This method sets the UserInterfaceFactorys that correspond to the default MBeans
 
Methods inherited from interface net.openwings.policy.Policy
getDescription, getLastLoadURL, getName, getPolicyAttributes, getPolicyElements, isPolicyUpdated, loadPolicy, loadPolicy, savePolicy, savePolicy, savePolicy, setDescription, setName, setPolicyUpdated
 

Method Detail

setMBeanClasses

public void setMBeanClasses(java.lang.Class[] mBeanClasses)
This method sets the default MBeans to be created by the Manager

Parameters:
mBeanClasses - array of classes representing the MBeans to be created

getMBeanClasses

public java.lang.Class[] getMBeanClasses()
This method returns the default MBeans to be created by the Manager

Returns:
array of classes representing the MBeans to be created

setMBeanAdapterClasses

public void setMBeanAdapterClasses(java.lang.Class[] mBeanAdapterClasses)
This method sets the MBeanAdapters to be used by the Manager

Parameters:
mBeanAdapterClasses - array of classes representing the MBeanAdapters to be used

getMBeanAdapterClasses

public java.lang.Class[] getMBeanAdapterClasses()
This method returns the MBeanAdapters to be used by the Manager

Returns:
array of classes representing the MBeanAdapters to be used

setUserInterfaceFactories

public void setUserInterfaceFactories(UserInterfaceFactory[] userInterfaceFactories)
This method sets the UserInterfaceFactorys that correspond to the default MBeans


getUserInterfaceFactories

public UserInterfaceFactory[] getUserInterfaceFactories()
This method returns the UserInterfaceFactorys that correspond to the default MBeans

Returns:
array of classes representing the UserInterfaceFactory objects

Openwings API Documentation (v1.1)