org.jasig.portal.services
Class ExternalServices

java.lang.Object
  extended by org.jasig.portal.services.ExternalServices
All Implemented Interfaces:
InitializingBean

Deprecated. Configure services as Spring beans, this class only remains to support CARs

@Deprecated
public class ExternalServices
extends Object
implements InitializingBean

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: 19776 $
Author:
Sridhar Venkatesh

Constructor Summary
ExternalServices()
          Deprecated.  
 
Method Summary
 void afterPropertiesSet()
          Deprecated.  
protected  SAXParser createParser()
          Deprecated.  
 CarResources getCarResources()
          Deprecated.  
 Class<?> getClassObject(String className)
          Deprecated. Returns the appropriate class for the given class name.
 IJndiManager getJndiManager()
          Deprecated.  
protected  void outputMessage(String msg)
          Deprecated. Controls output of ExternalServices.
 void setCarResources(CarResources carResources)
          Deprecated.  
 void setJndiManager(IJndiManager jndiManager)
          Deprecated.  
static void startServices(Context servicesContext)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalServices

public ExternalServices()
Deprecated. 
Method Detail

startServices

public static void startServices(Context servicesContext)
                          throws PortalException
Deprecated. 
Throws:
PortalException

getJndiManager

public IJndiManager getJndiManager()
Deprecated. 

setJndiManager

public void setJndiManager(IJndiManager jndiManager)
Deprecated. 
Parameters:
jndiManager - the jndiManager to set

getCarResources

public CarResources getCarResources()
Deprecated. 

setCarResources

public void setCarResources(CarResources carResources)
Deprecated. 
Parameters:
carResources - the carResources to set

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Deprecated. 
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

createParser

protected SAXParser createParser()
                          throws Exception
Deprecated. 
Throws:
Exception

outputMessage

protected void outputMessage(String msg)
Deprecated. 
Controls output of ExternalServices.

Parameters:
msg - a string to output

getClassObject

public Class<?> getClassObject(String className)
                        throws Exception
Deprecated. 
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:
Exception


Copyright © 2010 Jasig. All Rights Reserved.