|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EmsBean
An MBean.
| Method Summary | ||
|---|---|---|
EmsAttribute |
getAttribute(java.lang.String name)
Returns the attribute with the specified name, or null if this MBean has no such attribute. |
|
java.util.SortedSet<EmsAttribute> |
getAttributes()
Returns the set of all attributes for this MBean; never null. |
|
EmsBeanName |
getBeanName()
Returns the name of this MBean as an EmsBeanName (analogous to javax.management.ObjectName; never null. |
|
java.lang.Class |
getClassType()
This MBean's interface class (e.g. |
|
java.lang.String |
getClassTypeName()
The fully qualified class name of this MBean's interface (e.g. |
|
ConnectionProvider |
getConnectionProvider()
Returns the connection provider that was used to load this MBean; never null. |
|
EmsNotification |
getNotification(java.lang.String name)
Returns the notification with the specified name, or null if this MBean has no such notification. |
|
java.util.SortedSet<EmsNotification> |
getNotifications()
Returns the set of all notifications for this MBean; never null. |
|
EmsOperation |
getOperation(java.lang.String name)
Deprecated. getOperation(String, Class[]) should be used instead |
|
EmsOperation |
getOperation(java.lang.String name,
java.lang.Class... parameterTypes)
Returns the operation with the specified name and parameter types, or null if this MBean has no such operation. |
|
java.util.SortedSet<EmsOperation> |
getOperations()
Returns the set of all operations for this MBean; never null. |
|
|
getProxy(java.lang.Class<T> beanInterface)
Returns a proxy for this MBean, typed to the specified interface (typically its MBean interface); never null. |
|
boolean |
isHasUnsupportedType()
Returns true if this MBean has one or more attributes or operations with unsupported types, otherwise returns false. |
|
boolean |
isNotificationEmiter()
Returns true if this MBean defines one or more notifications, otherwise returns false. |
|
boolean |
isRegistered()
This sends a request to the server to check that this MBean is still registered on the server. |
|
void |
loadSynchronous()
Loads local representations of this MBean's attributes, operations and notifications if not already loaded. |
|
java.util.List<EmsAttribute> |
refreshAttributes()
Refresh, from the server, all attribute values for this MBean and return the set of attributes; never null. |
|
java.util.List<EmsAttribute> |
refreshAttributes(java.util.List<java.lang.String> names)
Return a specific subset of EmsAttributes for a bean based on the requested list of attributes by name. |
|
void |
unload()
Unloads any cached metadata associated with this MBean. |
|
void |
unregister()
Unregisters this MBean from the server. |
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
EmsBeanName getBeanName()
ConnectionProvider getConnectionProvider()
<T> T getProxy(java.lang.Class<T> beanInterface)
FooMBean fooMBean = getProxy(FooMBean.class);
T - the interface that the proxy should implementbeanInterface - the interface class that the proxy should implement
void loadSynchronous()
void unload()
java.util.SortedSet<EmsAttribute> getAttributes()
java.util.List<EmsAttribute> refreshAttributes()
java.util.List<EmsAttribute> refreshAttributes(java.util.List<java.lang.String> names)
names - the names of attributes to load
EmsAttribute getAttribute(java.lang.String name)
name - the attribute name
java.lang.String getClassTypeName()
java.lang.Class getClassType()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException - if the MBean's interface class could not be found in our class loaderjava.util.SortedSet<EmsOperation> getOperations()
EmsOperation getOperation(java.lang.String name)
getOperation(String, Class[]) should be used instead
getOperation(String, Class[]).
name - the operation name
EmsOperation getOperation(java.lang.String name,
java.lang.Class... parameterTypes)
name - the operation nameparameterTypes - the operation parameter types
java.util.SortedSet<EmsNotification> getNotifications()
EmsNotification getNotification(java.lang.String name)
name - the notification name
void unregister()
boolean isRegistered()
boolean isNotificationEmiter()
boolean isHasUnsupportedType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||