org.objectweb.proactive.jmx.server
Class ProActiveConnector

java.lang.Object
  extended by org.objectweb.proactive.jmx.server.ProActiveConnector
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.management.NotificationListener, javax.management.remote.JMXConnector

public class ProActiveConnector
extends java.lang.Object
implements javax.management.remote.JMXConnector, java.io.Serializable, javax.management.NotificationListener

The ProActiveConnector thats exposes the active object responsible of creating the ProActiveConnections

Author:
ProActive Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.management.remote.JMXConnector
CREDENTIALS
 
Constructor Summary
ProActiveConnector()
          Empty no arg constructor
ProActiveConnector(javax.management.remote.JMXServiceURL url, java.util.Map environment)
          Creates a ProActiveConnector
 
Method Summary
 void addConnectionNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
           
 void close()
           
 void connect()
           
 void connect(java.util.Map arg0)
           
 java.lang.String getConnectionId()
           
 javax.management.MBeanServerConnection getMBeanServerConnection()
           
 javax.management.MBeanServerConnection getMBeanServerConnection(javax.security.auth.Subject delegationSubject)
           
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
           
 void removeConnectionNotificationListener(javax.management.NotificationListener listener)
           
 void removeConnectionNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProActiveConnector

public ProActiveConnector()
Empty no arg constructor


ProActiveConnector

public ProActiveConnector(javax.management.remote.JMXServiceURL url,
                          java.util.Map environment)
Creates a ProActiveConnector

Parameters:
url - the url of the connector
environment - the environment of the connector Server
Method Detail

connect

public void connect()
             throws java.io.IOException
Specified by:
connect in interface javax.management.remote.JMXConnector
Throws:
java.io.IOException
See Also:
JMXConnector.connect()

connect

public void connect(java.util.Map arg0)
             throws java.io.IOException
Specified by:
connect in interface javax.management.remote.JMXConnector
Throws:
java.io.IOException
See Also:
JMXConnector.connect(java.util.Map)

getMBeanServerConnection

public javax.management.MBeanServerConnection getMBeanServerConnection()
                                                                throws java.io.IOException
Specified by:
getMBeanServerConnection in interface javax.management.remote.JMXConnector
Throws:
java.io.IOException
See Also:
JMXConnector.getMBeanServerConnection()

getMBeanServerConnection

public javax.management.MBeanServerConnection getMBeanServerConnection(javax.security.auth.Subject delegationSubject)
                                                                throws java.io.IOException
Specified by:
getMBeanServerConnection in interface javax.management.remote.JMXConnector
Throws:
java.io.IOException
See Also:
JMXConnector.getMBeanServerConnection(javax.security.auth.Subject)

close

public void close()
           throws java.io.IOException
Specified by:
close in interface javax.management.remote.JMXConnector
Throws:
java.io.IOException
See Also:
JMXConnector.close()

addConnectionNotificationListener

public void addConnectionNotificationListener(javax.management.NotificationListener listener,
                                              javax.management.NotificationFilter filter,
                                              java.lang.Object handback)
Specified by:
addConnectionNotificationListener in interface javax.management.remote.JMXConnector
See Also:
JMXConnector.addConnectionNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)

removeConnectionNotificationListener

public void removeConnectionNotificationListener(javax.management.NotificationListener listener)
                                          throws javax.management.ListenerNotFoundException
Specified by:
removeConnectionNotificationListener in interface javax.management.remote.JMXConnector
Throws:
javax.management.ListenerNotFoundException
See Also:
JMXConnector.removeConnectionNotificationListener(javax.management.NotificationListener)

removeConnectionNotificationListener

public void removeConnectionNotificationListener(javax.management.NotificationListener listener,
                                                 javax.management.NotificationFilter filter,
                                                 java.lang.Object handback)
                                          throws javax.management.ListenerNotFoundException
Specified by:
removeConnectionNotificationListener in interface javax.management.remote.JMXConnector
Throws:
javax.management.ListenerNotFoundException
See Also:
JMXConnector.removeConnectionNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)

getConnectionId

public java.lang.String getConnectionId()
                                 throws java.io.IOException
Specified by:
getConnectionId in interface javax.management.remote.JMXConnector
Throws:
java.io.IOException
See Also:
JMXConnector.getConnectionId()

handleNotification

public void handleNotification(javax.management.Notification notification,
                               java.lang.Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener


Copyright 2001-2007 INRIA All Rights Reserved.