org.glassfish.paas.orchestrator.service.metadata
Class ServiceReference

java.lang.Object
  extended by org.glassfish.paas.orchestrator.service.metadata.ServiceReference

public class ServiceReference
extends Object

Indicates the binding between a service reference in an application component (such as a resource-ref in sun-web.xml) and a service definition.

Author:
Sivakumar Thyagarajan

Constructor Summary
ServiceReference()
           
ServiceReference(String refId, String refType, String serviceName)
           
ServiceReference(String refId, String refType, String serviceName, Properties properties)
           
 
Method Summary
 boolean equals(Object o)
           
 ServicePlugin getMatchingPlugin()
           
 String getName()
           
 Properties getProperties()
           
 ServicePlugin getRequestingPlugin()
           
 String getServiceName()
           
 String getType()
           
 int hashCode()
           
 boolean isOptional()
           
 void setMatchingPlugin(ServicePlugin matchingPlugin)
           
 void setName(String name)
           
 void setOptional(boolean optional)
           
 void setProperties(Properties properties)
           
 void setRequestingPlugin(ServicePlugin plugin)
           
 void setServiceName(String serviceName)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceReference

public ServiceReference()

ServiceReference

public ServiceReference(String refId,
                        String refType,
                        String serviceName)

ServiceReference

public ServiceReference(String refId,
                        String refType,
                        String serviceName,
                        Properties properties)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getServiceName

public String getServiceName()

setServiceName

public void setServiceName(String serviceName)

getType

public String getType()

setType

public void setType(String type)

isOptional

public boolean isOptional()

setOptional

public void setOptional(boolean optional)

setRequestingPlugin

public void setRequestingPlugin(ServicePlugin plugin)

getRequestingPlugin

public ServicePlugin getRequestingPlugin()

toString

public String toString()
Overrides:
toString in class Object

getProperties

public Properties getProperties()

setProperties

public void setProperties(Properties properties)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

setMatchingPlugin

public void setMatchingPlugin(ServicePlugin matchingPlugin)

getMatchingPlugin

public ServicePlugin getMatchingPlugin()


Copyright © 2012. All Rights Reserved.