portal.services.sp
Class ServiceXMLConfiguration

java.lang.Object
  extended byportal.services.sp.ServiceXMLConfiguration
All Implemented Interfaces:
IServiceConfig

public class ServiceXMLConfiguration
extends java.lang.Object
implements IServiceConfig


Constructor Summary
ServiceXMLConfiguration(ServletContext context, java.io.InputStream xmlStream)
           
 
Method Summary
 java.util.Set getAttributeNames()
           
 java.lang.String getAttributeValue(java.lang.String name)
           
 java.lang.Class getControllerClass()
           
 java.lang.Class[] getDependencies()
           
 java.lang.Class[] getInterfaceClasses()
           
 java.io.InputStream getResourceAsStream(java.lang.String resourcePath)
           
 java.util.Set getResourcePaths(java.lang.String basePath)
           
 java.lang.String getServiceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceXMLConfiguration

public ServiceXMLConfiguration(ServletContext context,
                               java.io.InputStream xmlStream)
                        throws ServiceException
Method Detail

getServiceName

public java.lang.String getServiceName()

getInterfaceClasses

public java.lang.Class[] getInterfaceClasses()

getControllerClass

public java.lang.Class getControllerClass()

getAttributeNames

public java.util.Set getAttributeNames()
Specified by:
getAttributeNames in interface IServiceConfig

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String name)
Specified by:
getAttributeValue in interface IServiceConfig

getDependencies

public java.lang.Class[] getDependencies()

getResourcePaths

public java.util.Set getResourcePaths(java.lang.String basePath)
                               throws ServiceException
Specified by:
getResourcePaths in interface IServiceConfig
Throws:
ServiceException

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String resourcePath)
                                        throws ServiceException
Specified by:
getResourceAsStream in interface IServiceConfig
Throws:
ServiceException