org.glassfish.paas.orchestrator.service.metadata
Class ServiceReference
java.lang.Object
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
ServiceReference
public ServiceReference()
ServiceReference
public ServiceReference(String refId,
String refType,
String serviceName)
ServiceReference
public ServiceReference(String refId,
String refType,
String serviceName,
Properties properties)
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.