public class HippoWebappContextRegistry extends WhiteboardServiceRegistry<HippoWebappContext>
Modifier and Type | Method and Description |
---|---|
static HippoWebappContextRegistry |
get() |
HippoWebappContext |
getContext(String contextPath) |
boolean |
hasAtLeastOne(HippoWebappContext.Type type) |
void |
register(HippoWebappContext serviceObject)
Register a service object of type <T>
|
boolean |
unregister(HippoWebappContext serviceObject)
Unregister a previously registered service object
|
addTracker, getEntries, getEntriesList, removeTracker, size
public static HippoWebappContextRegistry get()
public void register(HippoWebappContext serviceObject) throws HippoServiceException
WhiteboardServiceRegistry
register
in class WhiteboardServiceRegistry<HippoWebappContext>
serviceObject
- the service objectHippoServiceException
- when the service object was already registeredpublic boolean unregister(HippoWebappContext serviceObject)
WhiteboardServiceRegistry
unregister
in class WhiteboardServiceRegistry<HippoWebappContext>
serviceObject
- the service objectpublic HippoWebappContext getContext(String contextPath)
public boolean hasAtLeastOne(HippoWebappContext.Type type)
type
- the type of webapp to checkCopyright © 2012–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.