cgl.narada.service
Class ServicePropertiesFactory

java.lang.Object
  extended by cgl.narada.service.ServicePropertiesFactory

public class ServicePropertiesFactory
extends Object


Method Summary
 GlobalServiceProperties getGlobalServiceProperties()
          Retrieve the global service properties.
static ServicePropertiesFactory getInstance()
           
 ServiceProperties getServiceProperties(int entityId)
          Retrieves the ServiceProperties associated with the specified entityID
 boolean hasServiceProperties(int entityId)
          Checks to see if ServiceProperties associated with a certain entityId have been registered.
 void intializeServiceProperties(int entityId)
           
 void intializeServiceProperties(int entityId, String configFileLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServicePropertiesFactory getInstance()

getGlobalServiceProperties

public GlobalServiceProperties getGlobalServiceProperties()
Retrieve the global service properties.


intializeServiceProperties

public void intializeServiceProperties(int entityId)
                                throws ServiceException
Throws:
ServiceException

intializeServiceProperties

public void intializeServiceProperties(int entityId,
                                       String configFileLocation)
                                throws ServiceException
Throws:
ServiceException

hasServiceProperties

public boolean hasServiceProperties(int entityId)
Checks to see if ServiceProperties associated with a certain entityId have been registered.

Parameters:
entityId - The identifier of the entity in question.
Returns:
true if ServiceProperties exist OR false otherwise.

getServiceProperties

public ServiceProperties getServiceProperties(int entityId)
Retrieves the ServiceProperties associated with the specified entityID

Parameters:
entityId - The identifier of the entity in question.
Returns:
The associated ServiceProperties. NULL otherwise.


For comments and suggestions please send e-mail to The NaradaBrokering Project