|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.hq.ui.ServiceLocator
public class ServiceLocator
A singleton class that looks up and caches BizApp home interfaces
and returns boss EJBs. It consults a supplied
ServletContext to configure itself if it is necessary
to connect to a remote EJB container.
| Field Summary | |
|---|---|
static java.lang.Class |
EVENT_LOG_CLASS
|
static java.lang.String |
EVENT_LOG_NAME
|
| Constructor Summary | |
|---|---|
ServiceLocator(java.util.Map attrs)
|
|
| Method Summary | |
|---|---|
org.hyperic.hq.bizapp.shared.AIBoss |
getAIBoss()
Return an AIBoss instance. |
org.hyperic.hq.bizapp.shared.AppdefBoss |
getAppdefBoss()
Return an AppdefBoss instance. |
org.hyperic.hq.bizapp.shared.AuthBoss |
getAuthBoss()
Return an AuthBoss instance. |
org.hyperic.hq.bizapp.shared.AuthzBoss |
getAuthzBoss()
Return an AuthzBoss instance. |
org.hyperic.hq.bizapp.shared.ConfigBoss |
getConfigBoss()
Return an ConfigBoss instance. |
org.hyperic.hq.bizapp.shared.ControlBoss |
getControlBoss()
Return an ControlBoss instance. |
org.hyperic.hq.bizapp.shared.EventLogBoss |
getEventLogBoss()
Return a EventLogBoss instance. |
org.hyperic.hq.bizapp.shared.EventsBoss |
getEventsBoss()
Return an EventsBoss instance. |
org.hyperic.hq.bizapp.shared.GalertBoss |
getGalertBoss()
|
org.hyperic.hq.bizapp.shared.MeasurementBoss |
getMeasurementBoss()
Return an MeasurementBoss instance. |
org.hyperic.hq.bizapp.shared.ProductBoss |
getProductBoss()
Return a ProductBoss instance. |
UIUtils |
getUIUtils(javax.servlet.ServletContext ctx)
Return the UIUtils implementor |
org.hyperic.hq.bizapp.shared.UpdateBoss |
getUpdateBoss()
|
protected javax.ejb.EJBHome |
lookup(java.lang.String name,
java.lang.Class clazz)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Class EVENT_LOG_CLASS
public static final java.lang.String EVENT_LOG_NAME
| Constructor Detail |
|---|
public ServiceLocator(java.util.Map attrs)
throws ServiceLocatorException
ServiceLocatorException| Method Detail |
|---|
protected javax.ejb.EJBHome lookup(java.lang.String name,
java.lang.Class clazz)
throws ServiceLocatorException
ServiceLocatorException
public org.hyperic.hq.bizapp.shared.AppdefBoss getAppdefBoss()
throws ServiceLocatorException
AppdefBoss instance. If not previously
cached, look up the interface and then cache it before creating
and returning the boss.
ServiceLocatorException - if the lookup or create fails
public org.hyperic.hq.bizapp.shared.AIBoss getAIBoss()
throws ServiceLocatorException
AIBoss instance. If not previously
cached, look up the interface and then cache it before creating
and returning the boss.
ServiceLocatorException - if the lookup or create fails
public org.hyperic.hq.bizapp.shared.AuthBoss getAuthBoss()
throws ServiceLocatorException
AuthBoss instance. If not previously
cached, look up the interface and then cache it before creating
and returning the boss.
ServiceLocatorException - if the lookup or create fails
public org.hyperic.hq.bizapp.shared.AuthzBoss getAuthzBoss()
throws ServiceLocatorException
AuthzBoss instance. If not previously
cached, look up the interface and then cache it before creating
and returning the boss.
ServiceLocatorException - if the lookup or create fails
public org.hyperic.hq.bizapp.shared.ConfigBoss getConfigBoss()
throws ServiceLocatorException
ConfigBoss instance. If not previously cached,
look up the interface and then cache it before creating and returning the
boss.
ServiceLocatorException - if the lookup or create fails.
public org.hyperic.hq.bizapp.shared.EventsBoss getEventsBoss()
throws ServiceLocatorException
EventsBoss instance. If not previously
cached, look up the interface and then cache it before creating
and returning the boss.
ServiceLocatorException - if the lookup or create fails
public org.hyperic.hq.bizapp.shared.ProductBoss getProductBoss()
throws ServiceLocatorException
ProductBoss instance. If not previously
cached, look up the interface and then cache it before creating
and returning the boss.
ServiceLocatorException - if the lookup or create fails
public org.hyperic.hq.bizapp.shared.MeasurementBoss getMeasurementBoss()
throws ServiceLocatorException
MeasurementBoss instance. If not previously
cached, look up the interface and then cache it before creating
and returning the boss.
ServiceLocatorException - if the lookup or create failspublic UIUtils getUIUtils(javax.servlet.ServletContext ctx)
public org.hyperic.hq.bizapp.shared.EventLogBoss getEventLogBoss()
throws ServiceLocatorException
EventLogBoss instance. If not previously cached,
look up the interface and then cache it before creating and returning the
boss.
ServiceLocatorException - if the lookup or create fails
public org.hyperic.hq.bizapp.shared.ControlBoss getControlBoss()
throws ServiceLocatorException
ControlBoss instance. If not previously cached,
look up the interface and then cache it before creating and returning the
boss.
ServiceLocatorException - if the lookup or create fails.
public org.hyperic.hq.bizapp.shared.GalertBoss getGalertBoss()
throws ServiceLocatorException
ServiceLocatorException
public org.hyperic.hq.bizapp.shared.UpdateBoss getUpdateBoss()
throws ServiceLocatorException
ServiceLocatorException
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||