org.jasig.portal.services
Class ExternalServices
java.lang.Object
org.jasig.portal.services.ExternalServices
- public class ExternalServices
- extends java.lang.Object
ExternalServices starts up all the runtime services for the uPortal.
These services can be customized at an installation location by editing the
services.xml file under the properties directory. For example, the
connection pooling is a service that can be provided by different vendor
implementations.
Services are bound into the uPortal /services JNDI branch if element
is specified in the service description.
- Version:
- $Revision: 1.12.2.1 $
- Author:
- Sridhar Venkatesh
Method Summary |
static java.lang.Class |
getClassObject(java.lang.String className)
Returns the appropriate class for the given class name. |
static void |
startServices(javax.naming.Context servicesContext)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalServices
public ExternalServices(javax.naming.Context servicesContext)
startServices
public static void startServices(javax.naming.Context servicesContext)
throws PortalException
- Throws:
PortalException
getClassObject
public static java.lang.Class getClassObject(java.lang.String className)
throws java.lang.Exception
- Returns the appropriate class for the given class name. Checks to see
whether the class belongs to a primitive data type or a Java Object.
- Parameters:
className
- - Name of the class. Primitive datatypes must be specified
as xxx.class or Xxxx.TYPE. (e.g. int.class or Integer.TYPE).
- Throws:
java.lang.Exception