javax.management.remote.rmi
Interface RMIConnection
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- RMIConnectionImpl
public interface RMIConnection
- extends Remote
- Author:
- Tom Elrod
Method Summary |
void |
addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
Integer[] |
addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects)
|
void |
close()
|
ObjectInstance |
createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject)
|
ObjectInstance |
createMBean(String className,
ObjectName name,
Subject delegationSubject)
|
NotificationResult |
fetchNotifications(long clientSequenceNumber,
int maxNotifications,
long timeout)
|
Object |
getAttribute(ObjectName name,
String attribute,
Subject delegationSubject)
|
AttributeList |
getAttributes(ObjectName name,
String[] attributes,
Subject delegationSubject)
|
String |
getConnectionId()
|
String |
getDefaultDomain(Subject delegationSubject)
|
String[] |
getDomains(Subject delegationSubject)
|
Integer |
getMBeanCount(Subject delegationSubject)
|
MBeanInfo |
getMBeanInfo(ObjectName name,
Subject delegationSubject)
|
ObjectInstance |
getObjectInstance(ObjectName name,
Subject delegationSubject)
|
Object |
invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
boolean |
isInstanceOf(ObjectName name,
String className,
Subject delegationSubject)
|
boolean |
isRegistered(ObjectName name,
Subject delegationSubject)
|
Set |
queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
|
Set |
queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
|
void |
removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
|
void |
removeNotificationListener(ObjectName name,
ObjectName listener,
Subject delegationSubject)
|
void |
removeNotificationListeners(ObjectName name,
Integer[] listenerIDs,
Subject delegationSubject)
|
void |
setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
|
AttributeList |
setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject)
|
void |
unregisterMBean(ObjectName name,
Subject delegationSubject)
|
getConnectionId
String getConnectionId()
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException
createMBean
ObjectInstance createMBean(String className,
ObjectName name,
Subject delegationSubject)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException,
IOException
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
IOException
createMBean
ObjectInstance createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException,
InstanceNotFoundException,
IOException
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
IOException
createMBean
ObjectInstance createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException,
IOException
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
IOException
createMBean
ObjectInstance createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException,
InstanceNotFoundException,
IOException
- Throws:
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
IOException
unregisterMBean
void unregisterMBean(ObjectName name,
Subject delegationSubject)
throws InstanceNotFoundException,
MBeanRegistrationException,
IOException
- Throws:
InstanceNotFoundException
MBeanRegistrationException
IOException
getObjectInstance
ObjectInstance getObjectInstance(ObjectName name,
Subject delegationSubject)
throws InstanceNotFoundException,
IOException
- Throws:
InstanceNotFoundException
IOException
queryMBeans
Set queryMBeans(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
throws IOException
- Throws:
IOException
queryNames
Set queryNames(ObjectName name,
MarshalledObject query,
Subject delegationSubject)
throws IOException
- Throws:
IOException
isRegistered
boolean isRegistered(ObjectName name,
Subject delegationSubject)
throws IOException
- Throws:
IOException
getMBeanCount
Integer getMBeanCount(Subject delegationSubject)
throws IOException
- Throws:
IOException
getAttribute
Object getAttribute(ObjectName name,
String attribute,
Subject delegationSubject)
throws MBeanException,
AttributeNotFoundException,
InstanceNotFoundException,
ReflectionException,
IOException
- Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
IOException
getAttributes
AttributeList getAttributes(ObjectName name,
String[] attributes,
Subject delegationSubject)
throws InstanceNotFoundException,
ReflectionException,
IOException
- Throws:
InstanceNotFoundException
ReflectionException
IOException
setAttribute
void setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
throws InstanceNotFoundException,
AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException,
IOException
- Throws:
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
IOException
setAttributes
AttributeList setAttributes(ObjectName name,
MarshalledObject attributes,
Subject delegationSubject)
throws InstanceNotFoundException,
ReflectionException,
IOException
- Throws:
InstanceNotFoundException
ReflectionException
IOException
invoke
Object invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
throws InstanceNotFoundException,
MBeanException,
ReflectionException,
IOException
- Throws:
InstanceNotFoundException
MBeanException
ReflectionException
IOException
getDefaultDomain
String getDefaultDomain(Subject delegationSubject)
throws IOException
- Throws:
IOException
getDomains
String[] getDomains(Subject delegationSubject)
throws IOException
- Throws:
IOException
getMBeanInfo
MBeanInfo getMBeanInfo(ObjectName name,
Subject delegationSubject)
throws InstanceNotFoundException,
IntrospectionException,
ReflectionException,
IOException
- Throws:
InstanceNotFoundException
IntrospectionException
ReflectionException
IOException
isInstanceOf
boolean isInstanceOf(ObjectName name,
String className,
Subject delegationSubject)
throws InstanceNotFoundException,
IOException
- Throws:
InstanceNotFoundException
IOException
addNotificationListener
void addNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
throws InstanceNotFoundException,
IOException
- Throws:
InstanceNotFoundException
IOException
removeNotificationListener
void removeNotificationListener(ObjectName name,
ObjectName listener,
Subject delegationSubject)
throws InstanceNotFoundException,
ListenerNotFoundException,
IOException
- Throws:
InstanceNotFoundException
ListenerNotFoundException
IOException
removeNotificationListener
void removeNotificationListener(ObjectName name,
ObjectName listener,
MarshalledObject filter,
MarshalledObject handback,
Subject delegationSubject)
throws InstanceNotFoundException,
ListenerNotFoundException,
IOException
- Throws:
InstanceNotFoundException
ListenerNotFoundException
IOException
addNotificationListeners
Integer[] addNotificationListeners(ObjectName[] names,
MarshalledObject[] filters,
Subject[] delegationSubjects)
throws InstanceNotFoundException,
IOException
- Throws:
InstanceNotFoundException
IOException
removeNotificationListeners
void removeNotificationListeners(ObjectName name,
Integer[] listenerIDs,
Subject delegationSubject)
throws InstanceNotFoundException,
ListenerNotFoundException,
IOException
- Throws:
InstanceNotFoundException
ListenerNotFoundException
IOException
fetchNotifications
NotificationResult fetchNotifications(long clientSequenceNumber,
int maxNotifications,
long timeout)
throws IOException
- Throws:
IOException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.