org.jboss.system
Class ServiceInstance

java.lang.Object
  extended by org.jboss.system.ServiceInstance

public class ServiceInstance
extends Object

ServiceInstance.

Version:
$Revision: 85945 $
Author:
Adrian Brock

Constructor Summary
ServiceInstance()
          Create a new ServiceInstance.
ServiceInstance(ObjectInstance objectInstance, Object resource)
          Create a new ServiceInstance.
 
Method Summary
 ObjectInstance getObjectInstance()
          Get the objectInstance.
 Object getResource()
          Get the resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInstance

public ServiceInstance()
Create a new ServiceInstance.


ServiceInstance

public ServiceInstance(ObjectInstance objectInstance,
                       Object resource)
Create a new ServiceInstance.

Parameters:
objectInstance - the object instance
resource - the object
Method Detail

getResource

public Object getResource()
Get the resource.

Returns:
the resource.

getObjectInstance

public ObjectInstance getObjectInstance()
Get the objectInstance.

Returns:
the objectInstance.


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.