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

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

public class ServiceMetadata
extends Object

Holds both service description and service references. During deployment this object is initially used to read service descriptions specified in the descriptor file. Later the implicitly discovered service descriptions and references are added to this. At the end of scanning of the archive, this object will hold ALL the required service description and references. Currently the initial service descriptions are read from META-INF/glassfish-services.xml. But this is a generic holder object that can hold service descriptions and references from different descriptor file(s).

Author:
bhavanishankar@java.net

Constructor Summary
ServiceMetadata()
           
 
Method Summary
 void addServiceDescription(ServiceDescription sd)
           
 void addServiceReference(ServiceReference sr)
           
 String getAppName()
           
 Set<ServiceDescription> getServiceDescriptions()
           
 Set<ServiceReference> getServiceReferences()
           
 void setAppName(String appName)
           
 void setServiceDescriptions(Set<ServiceDescription> serviceDescriptions)
           
 void setServiceReferences(Set<ServiceReference> serviceReferences)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceMetadata

public ServiceMetadata()
Method Detail

getServiceDescriptions

public Set<ServiceDescription> getServiceDescriptions()

setServiceDescriptions

public void setServiceDescriptions(Set<ServiceDescription> serviceDescriptions)

addServiceDescription

public void addServiceDescription(ServiceDescription sd)

getServiceReferences

public Set<ServiceReference> getServiceReferences()

setServiceReferences

public void setServiceReferences(Set<ServiceReference> serviceReferences)

addServiceReference

public void addServiceReference(ServiceReference sr)

getAppName

public String getAppName()

setAppName

public void setAppName(String appName)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.