org.jboss.portal.test.framework.impl.jboss.server
Class JBossServiceLookup

java.lang.Object
  extended by org.jboss.portal.test.framework.impl.jboss.server.JBossServiceLookup
All Implemented Interfaces:
ServiceLookup

public class JBossServiceLookup
extends java.lang.Object
implements ServiceLookup

Version:
$Revision: 1.1 $
Author:
Julien Viet

Constructor Summary
JBossServiceLookup(javax.management.MBeanServer mbeanServer, javax.management.ObjectName objectName, java.lang.String serviceInterface)
           
 
Method Summary
 javax.management.ObjectName getObjectName()
           
 java.lang.String getServiceInterface()
           
 java.lang.Object lookupService()
          Returns a proxy for the underlying service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossServiceLookup

public JBossServiceLookup(javax.management.MBeanServer mbeanServer,
                          javax.management.ObjectName objectName,
                          java.lang.String serviceInterface)
Method Detail

getObjectName

public javax.management.ObjectName getObjectName()

getServiceInterface

public java.lang.String getServiceInterface()

lookupService

public java.lang.Object lookupService()
                               throws ServiceLookupFailedException
Description copied from interface: ServiceLookup
Returns a proxy for the underlying service.

Specified by:
lookupService in interface ServiceLookup
Returns:
the service proxy
Throws:
ServiceLookupFailedException