KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > management > remote > rmi > RMIConnection

javax.management.remote.rmi
Interface RMIConnection

All Superinterfaces:
Remote
All Known Implementing Classes:
RMIConnectionImpl, RMIConnectionImpl_Stub
See Also:
Top Examples, MarshalledObject

void addNotificationListener(ObjectName name,
                             ObjectName listener,
                             MarshalledObject filter,
                             MarshalledObject handback,
                             Subject delegationSubject)
                             throws InstanceNotFoundException,
                                    IOException
See Also:
removeNotificationListener(ObjectName, ObjectName, MarshalledObject, MarshalledObject, Subject), removeNotificationListener(ObjectName, ObjectName, Subject), SecurityException, NotificationListener, IllegalArgumentException, RuntimeOperationsException, MBeanServerConnection.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Integer[] addNotificationListeners(ObjectName[] names,
                                   MarshalledObject[] filters,
                                   Subject[] delegationSubjects)
                                   throws InstanceNotFoundException,
                                          IOException
See Also:
SecurityException, ClassCastException, IllegalArgumentException, fetchNotifications, MBeanServerConnection.addNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void close()
           throws IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name,
                           MarshalledObject params,
                           String[] signature,
                           Subject delegationSubject)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  IOException
See Also:
SecurityException, RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection.createMBean(String, ObjectName, Object[], String[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name,
                           ObjectName loaderName,
                           MarshalledObject params,
                           String[] signature,
                           Subject delegationSubject)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  InstanceNotFoundException,
                                  IOException
See Also:
SecurityException, RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection.createMBean(String, ObjectName, ObjectName, Object[], String[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name,
                           ObjectName loaderName,
                           Subject delegationSubject)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  InstanceNotFoundException,
                                  IOException
See Also:
SecurityException, RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection.createMBean(String, ObjectName, ObjectName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance createMBean(String className,
                           ObjectName name,
                           Subject delegationSubject)
                           throws ReflectionException,
                                  InstanceAlreadyExistsException,
                                  MBeanRegistrationException,
                                  MBeanException,
                                  NotCompliantMBeanException,
                                  IOException
See Also:
SecurityException, RuntimeOperationsException, getMBeanInfo(n), MBeanServerConnection.createMBean(String, ObjectName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


NotificationResult fetchNotifications(long clientSequenceNumber,
                                      int maxNotifications,
                                      long timeout)
                                      throws IOException
See Also:
addNotificationListeners(ObjectName[], MarshalledObject[], Subject[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object getAttribute(ObjectName name,
                    String attribute,
                    Subject delegationSubject)
                    throws MBeanException,
                           AttributeNotFoundException,
                           InstanceNotFoundException,
                           ReflectionException,
                           IOException
See Also:
setAttribute(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject), SecurityException, RuntimeOperationsException, MBeanServerConnection.getAttribute(ObjectName, String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


AttributeList getAttributes(ObjectName name,
                            String[] attributes,
                            Subject delegationSubject)
                            throws InstanceNotFoundException,
                                   ReflectionException,
                                   IOException
See Also:
setAttributes(javax.management.ObjectName, java.rmi.MarshalledObject, javax.security.auth.Subject), SecurityException, RuntimeOperationsException, MBeanServerConnection.getAttributes(ObjectName, String[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


String getConnectionId()
                       throws IOException
See Also:
RMIConnector.connect
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


String getDefaultDomain(Subject delegationSubject)
                        throws IOException
See Also:
SecurityException, MBeanServerConnection.getDefaultDomain()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


String[] getDomains(Subject delegationSubject)
                    throws IOException
See Also:
SecurityException, MBeanServerConnection.getDomains()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Integer getMBeanCount(Subject delegationSubject)
                      throws IOException
See Also:
SecurityException, MBeanServerConnection.getMBeanCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


MBeanInfo getMBeanInfo(ObjectName name,
                       Subject delegationSubject)
                       throws InstanceNotFoundException,
                              IntrospectionException,
                              ReflectionException,
                              IOException
See Also:
RuntimeOperationsException, SecurityException, MBeanServerConnection.getMBeanInfo(ObjectName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ObjectInstance getObjectInstance(ObjectName name,
                                 Subject delegationSubject)
                                 throws InstanceNotFoundException,
                                        IOException
See Also:
SecurityException, RuntimeOperationsException, getMBeanInfo(name), MBeanServerConnection.getObjectInstance(ObjectName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Object invoke(ObjectName name,
              String operationName,
              MarshalledObject params,
              String[] signature,
              Subject delegationSubject)
              throws InstanceNotFoundException,
                     MBeanException,
                     ReflectionException,
                     IOException
See Also:
IllegalArgumentException, RuntimeOperationsException, SecurityException, MBeanServerConnection.invoke(ObjectName, String, Object[], String[])
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isInstanceOf(ObjectName name,
                     String className,
                     Subject delegationSubject)
                     throws InstanceNotFoundException,
                            IOException
See Also:
RuntimeOperationsException, SecurityException, MBeanServerConnection.isInstanceOf(ObjectName, String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isRegistered(ObjectName name,
                     Subject delegationSubject)
                     throws IOException
See Also:
SecurityException, RuntimeOperationsException, MBeanServerConnection.isRegistered(ObjectName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Set<ObjectInstance> queryMBeans(ObjectName name,
                                MarshalledObject query,
                                Subject delegationSubject)
                                throws IOException
See Also:
SecurityException, MBeanServerConnection.queryMBeans(ObjectName, QueryExp)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Set<ObjectName> queryNames(ObjectName name,
                           MarshalledObject query,
                           Subject delegationSubject)
                           throws IOException
See Also:
SecurityException, MBeanServerConnection.queryNames(ObjectName, QueryExp)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeNotificationListener(ObjectName name,
                                ObjectName listener,
                                MarshalledObject filter,
                                MarshalledObject handback,
                                Subject delegationSubject)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException,
                                       IOException
See Also:
addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject), IllegalArgumentException, RuntimeOperationsException, SecurityException, MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeNotificationListener(ObjectName name,
                                ObjectName listener,
                                Subject delegationSubject)
                                throws InstanceNotFoundException,
                                       ListenerNotFoundException,
                                       IOException
See Also:
addNotificationListener(javax.management.ObjectName, javax.management.ObjectName, java.rmi.MarshalledObject, java.rmi.MarshalledObject, javax.security.auth.Subject), IllegalArgumentException, RuntimeOperationsException, SecurityException, MBeanServerConnection.removeNotificationListener(ObjectName, ObjectName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void removeNotificationListeners(ObjectName name,
                                 Integer[] listenerIDs,
                                 Subject delegationSubject)
                                 throws InstanceNotFoundException,
                                        ListenerNotFoundException,
                                        IOException
See Also:
IllegalArgumentException, SecurityException, addNotificationListeners(ObjectName[], MarshalledObject[], Subject[]), removeNotificationListener(ObjectName, NotificationListener, NotificationFilter, Object), removeNotificationListener(ObjectName, NotificationListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void setAttribute(ObjectName name,
                  MarshalledObject attribute,
                  Subject delegationSubject)
                  throws InstanceNotFoundException,
                         AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException,
                         IOException
See Also:
getAttribute(javax.management.ObjectName, java.lang.String, javax.security.auth.Subject), SecurityException, RuntimeOperationsException, MBeanServerConnection.setAttribute(ObjectName, Attribute)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


AttributeList setAttributes(ObjectName name,
                            MarshalledObject attributes,
                            Subject delegationSubject)
                            throws InstanceNotFoundException,
                                   ReflectionException,
                                   IOException
See Also:
getAttributes(javax.management.ObjectName, java.lang.String[], javax.security.auth.Subject), SecurityException, RuntimeOperationsException, MBeanServerConnection.setAttributes(ObjectName, AttributeList)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void unregisterMBean(ObjectName name,
                     Subject delegationSubject)
                     throws InstanceNotFoundException,
                            MBeanRegistrationException,
                            IOException
See Also:
SecurityException, MBeanServerDelegate, RuntimeOperationsException, MBeanServerConnection.unregisterMBean(ObjectName)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags