public class AdminResourcesContainer
extends java.lang.Object
AdminContainerConfig.listenPort() and defaulting to
AdminContainerConfig. AdminContainerConfig.jerseyResourcePkgList()will be scanned and initialized. | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTAINER_LISTEN_PORT
Deprecated.
here for backwards compatibility. Use
AdminConfigImpl.CONTAINER_LISTEN_PORT. |
| Constructor and Description |
|---|
AdminResourcesContainer() |
| Modifier and Type | Method and Description |
|---|---|
AdminPageRegistry |
getAdminPageRegistry() |
int |
getServerPort() |
void |
init()
Starts the container and hence the embedded jetty server.
|
void |
shutdown() |
@Deprecated public static final java.lang.String CONTAINER_LISTEN_PORT
AdminConfigImpl.CONTAINER_LISTEN_PORT.@PostConstruct
public void init()
throws java.lang.Exception
java.lang.Exception - if there is an issue while starting the serverpublic int getServerPort()
public AdminPageRegistry getAdminPageRegistry()
@PreDestroy public void shutdown()