| 
 | Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.netuix.servicelevel.ServiceLevelManagerFactory
public class ServiceLevelManagerFactory
Provides a single point of access to existing or registered
 ServiceLevelManager.
| Constructor Summary | |
|---|---|
| protected  | ServiceLevelManagerFactory() | 
| Method Summary | |
|---|---|
| static ServiceLevelManagerFactory | getInstance()Obtains the singleton instance of the ServiceLevelManagerFactory | 
|  ServiceLevelManager | getServiceLevelManager(String webappContextPath)Gets the ServiceLevelManagerfor a specified webappContextPath. | 
|  boolean | isServiceLevelManagerRegistered(String webappContextPath)Returns whether or not a ServiceLevelManager has been previously registered. | 
|  void | registerServiceLevelManager(String webappContextPath,
                            ServiceLevelManager manager)Registers a non-default implementation of a ServiceLevelManager. | 
|  void | unregisterServiceLevelManager(String webappContextPath)Unregisters the current ServiceLevelManagerassociated with the
 webappContextPath. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected ServiceLevelManagerFactory()
| Method Detail | 
|---|
public static ServiceLevelManagerFactory getInstance()
ServiceLevelManagerFactory
ServiceLevelManagerFactorypublic ServiceLevelManager getServiceLevelManager(String webappContextPath)
ServiceLevelManager for a specified webappContextPath.
 Each webapp is assigned its own unique ServiceLevelManager, to which all
 PortletServiceLevel settings are scoped.
webappContextPath - 
ServiceLevelManager for the specified webapp
public void registerServiceLevelManager(String webappContextPath,
                                        ServiceLevelManager manager)
webappContextPath - manager - public void unregisterServiceLevelManager(String webappContextPath)
ServiceLevelManager associated with the
 webappContextPath.  This should always be done on redeployment of webapps, as
 otherwise the managers map retains a reference to the ServiceLevelManager
 and subsequently the ClassLoader that loaded it.
webappContextPath - public boolean isServiceLevelManagerRegistered(String webappContextPath)
webappContextPath - 
| 
 | Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||