void |
Config.addIndex(org.glassfish.hk2.api.ServiceLocator habitat,
String name) |
Add name as an index key for this Config and for the objects that are
directly referenced by this Config.
|
void |
VirtualServer.addNetworkListener(String name) |
|
File |
Application.application() |
|
String |
Application.archiveType() |
|
<P extends ConfigExtension> boolean |
Config.checkIfExtensionExists(Class<P> configBeanType) |
|
<P extends ConfigBeanProxy> boolean |
Domain.checkIfExtensionExists(Class<P> configBeanType) |
|
boolean |
JvmOptionBag.contains(String option) |
|
boolean |
SystemPropertyBag.containsProperty(String name) |
|
boolean |
Application.containsSnifferType(String snifferType) |
|
<T extends ConfigExtension> T |
Config.createDefaultChildByType(Class<T> type) |
|
void |
Cluster.createResourceRef(String enabled,
String refName) |
|
void |
Config.createResourceRef(String enabled,
String refName) |
|
void |
Server.createResourceRef(String enabled,
String refName) |
|
void |
Cluster.deleteResourceRef(String refName) |
|
void |
Config.deleteResourceRef(String refName) |
|
void |
Server.deleteResourceRef(String name) |
|
File |
Application.deploymentPlan() |
|
NetworkListener |
VirtualServer.findNetworkListener(String name) |
|
List<NetworkListener> |
VirtualServer.findNetworkListeners() |
|
String |
Server.getAdminHost() |
|
NetworkListener |
Config.getAdminListener() |
|
int |
Server.getAdminPort() |
|
List<Application> |
Domain.getAllDefinedSystemApplications() |
|
Map<String,String> |
ModuleLogLevels.getAllLogLevels() |
|
List<ReferenceContainer> |
Domain.getAllReferenceContainers() |
|
List<String> |
Domain.getAllReferencedTargetsForApplication(String appName) |
|
List<String> |
Domain.getAllTargets() |
|
Application |
Applications.getApplication(String moduleID) |
Return the application with the given module ID (name), or null if
no such application exists.
|
ApplicationConfig |
Engine.getApplicationConfig() |
|
ApplicationRef |
Cluster.getApplicationRef(String appName) |
|
ApplicationRef |
Server.getApplicationRef(String appName) |
|
ApplicationRef |
Domain.getApplicationRefInServer(String sn,
String name) |
|
ApplicationRef |
Domain.getApplicationRefInTarget(String appName,
String target) |
|
ApplicationRef |
Domain.getApplicationRefInTarget(String appName,
String target,
boolean includeInstances) |
|
List<ApplicationRef> |
Domain.getApplicationRefsInServer(String sn) |
|
List<ApplicationRef> |
Domain.getApplicationRefsInTarget(String target) |
|
List<Application> |
Applications.getApplications() |
|
List<Application> |
Domain.getApplicationsInTarget(String target) |
|
List<Application> |
Applications.getApplicationsWithSnifferType(String snifferType) |
|
List<Application> |
Applications.getApplicationsWithSnifferType(String snifferType,
boolean onlyStandaloneModules) |
|
AppTenant |
AppTenants.getAppTenant(String tenant) |
|
AuthRealm |
AdminService.getAssociatedAuthRealm() |
|
Cluster |
Clusters.getCluster(String name) |
Return the cluster with the given name, or null if no such cluster exists.
|
Cluster |
Server.getCluster() |
Returns the cluster instance this instance is referenced in or null
if there is no cluster referencing this server instance.
|
Cluster |
Domain.getClusterForInstance(String instanceName) |
|
Cluster |
Domain.getClusterNamed(String name) |
|
List<Cluster> |
Domain.getClustersOnNode(String nodeName) |
|
Config |
Server.getConfig() |
|
Config |
Configs.getConfigByName(String name) |
|
Config |
Domain.getConfigNamed(String name) |
|
ContainerMonitoring |
MonitoringService.getContainerMonitoring(String name) |
Return the monitoring configuration for a container by the provided name, assuming the named container used the default ContainerMonitoring to express
its monitoring configuration.
|
String |
SecureAdmin.getDasAlias() |
|
Node |
Nodes.getDefaultLocalNode() |
Return the default local node, localhost-<domain_name>, or null if no such node exists.
|
List<DeploymentGroup> |
Server.getDeploymentGroup() |
|
DeploymentGroup |
Domain.getDeploymentGroupNamed(String target) |
|
List<DeploymentGroup> |
Domain.getDeploymentGroupsForInstance(String namedInstance) |
|
DeployCommandParameters |
Application.getDeployParameters(ApplicationRef appRef) |
|
Properties |
Application.getDeployProperties() |
|
Properties |
AppTenant.getDeployProperties() |
|
String |
Domain.getEnabledForApplication(String target,
String appName) |
|
Engine |
Module.getEngine(String snifferType) |
|
<T extends ApplicationExtension> T |
Application.getExtensionByType(Class<T> type) |
|
<T extends AvailabilityServiceExtension> T |
AvailabilityService.getExtensionByType(Class<T> type) |
|
<T extends DiagnosticServiceExtension> T |
DiagnosticService.getExtensionByType(Class<T> type) |
|
<T extends ApplicationExtension> List<T> |
Application.getExtensionsByType(Class<T> type) |
|
<T extends ClusterExtension> List<T> |
Cluster.getExtensionsByType(Class<T> type) |
|
<T extends ClusterExtension> T |
Cluster.getExtensionsByTypeAndName(Class<T> type,
String name) |
|
String |
AuthRealm.getGroupMapping() |
|
String |
BindableResource.getIdentity() |
|
String |
Resource.getIdentity() |
|
String |
ResourcePool.getIdentity() |
|
String |
ServerResource.getIdentity() |
|
String |
Node.getInstallDirUnixStyle() |
Returns the install dir with separators as forward slashes.
|
String |
SecureAdmin.getInstanceAlias() |
Returns the SecureAdminPrincipal corresponding to the Principal the
instances use to authenticate themselves using SSL/TLS
|
List<Server> |
Cluster.getInstances() |
|
List<Server> |
Domain.getInstancesOnNode(String nodeName) |
|
List<String> |
JavaConfig.getJavacOptionsAsList() |
Returns the javac options for deployment.
|
List<String> |
JvmOptionBag.getJvmOptions() |
|
Map<String,String> |
Config.getLoggingProperties() |
|
Module |
Application.getModule(String moduleName) |
|
<T> T |
Applications.getModule(Class<T> type,
String moduleID) |
|
Map<String,Properties> |
Application.getModulePropertiesMap() |
|
<T> List<T> |
Applications.getModules(Class<T> type) |
|
String |
MonitoringService.getMonitoringLevel(String name) |
|
String |
Domain.getName() |
|
Node |
Nodes.getNode(String name) |
Return the node with the given name, or null if no such node exists.
|
String |
Node.getNodeDirAbsolute() |
Returns the node dir as an absolute path.
|
String |
Node.getNodeDirAbsoluteUnixStyle() |
|
String |
Node.getNodeDirUnixStyle() |
Returns the node dir with separators as forward slashes.
|
Node |
Domain.getNodeNamed(String name) |
|
List<String> |
HttpService.getNonAdminVirtualServerList() |
|
String |
SystemPropertyBag.getPropertyValue(String name,
String defaultValue) |
Returns a property value if the bean has properties and one of its
properties name is equal to the one passed.
|
String |
Cluster.getReference() |
Returns the cluster configuration reference
|
String |
Server.getReference() |
|
ReferenceContainer |
Domain.getReferenceContainerNamed(String name) |
|
List<ReferenceContainer> |
Domain.getReferenceContainersOf(Config config) |
|
<T> Resource |
Resources.getResourceByName(Class<T> type,
String name) |
|
ResourceRef |
Cluster.getResourceRef(String refName) |
|
ResourceRef |
Config.getResourceRef(String refName) |
|
ResourceRef |
Server.getResourceRef(String name) |
|
<T> Collection<T> |
Resources.getResources(Class<T> type) |
|
Server |
Servers.getServer(String name) |
Return the server with the given name, or null if no such server exists.
|
Server |
Domain.getServerNamed(String name) |
|
ServerRef |
Cluster.getServerRefByRef(String ref) |
|
List<Server> |
Domain.getServersInTarget(String target) |
|
List<Server> |
Servers.getServersOnNode(Node node) |
Return the list of Servers that reference a Node
|
String |
JvmOptionBag.getStartingWith(String start) |
|
Application |
Domain.getSystemApplicationReferencedFrom(String sn,
String appName) |
|
List<Application> |
Domain.getSystemApplicationsReferencedFrom(String sn) |
Returns the list of system-applications that are referenced from the given server.
|
JmxConnector |
AdminService.getSystemJmxConnector() |
|
SystemProperty |
SystemPropertyBag.getSystemProperty(String name) |
|
String |
SystemPropertyBag.getSystemPropertyValue(String name) |
Returns a property value if the bean has system properties and one of its
system-property names is equal to the one passed.
|
List<String> |
Domain.getTargets(String tgt) |
|
VirtualServer |
HttpService.getVirtualServerByName(String name) |
|
String |
Domain.getVirtualServersForApplication(String target,
String appName) |
|
int |
JvmOptionBag.getXmsMegs() |
see #getXmxMegs
|
int |
JvmOptionBag.getXmxMegs() |
It's observed that many a time we need the value of max heap size.
|
boolean |
Node.instanceCreationAllowed() |
Does the node allow instance creation?
|
boolean |
MonitoringService.isAnyModuleOn() |
|
boolean |
Domain.isAppEnabledInTarget(String appName,
String target) |
|
boolean |
Domain.isAppRefEnabledInTarget(String appName,
String target) |
|
boolean |
Domain.isAppReferencedByPaaSTarget(String appName) |
|
boolean |
Cluster.isCluster() |
|
boolean |
Server.isCluster() |
|
boolean |
Domain.isCurrentInstanceMatchingTarget(String target,
String appName,
String currentInstance,
List<String> referencedTargets) |
|
boolean |
Cluster.isDas() |
|
boolean |
Config.isDas() |
|
boolean |
Server.isDas() |
|
boolean |
Node.isDefaultLocalNode() |
True if this is the default local node.
|
boolean |
Cluster.isDeploymentGroup() |
|
boolean |
SecureAdmin.isEnabled() |
|
boolean |
Cluster.isInstance() |
|
boolean |
Server.isInstance() |
|
boolean |
Application.isLifecycleModule() |
|
boolean |
Node.isLocal() |
True if the node's nodeHost is local to this
|
boolean |
Domain.isNamedSystemApplicationReferencedFrom(String appName,
String serverName) |
|
boolean |
Cluster.isResourceRefExists(String refName) |
|
boolean |
Config.isResourceRefExists(String refName) |
|
boolean |
Server.isResourceRefExists(String refName) |
|
boolean |
Server.isRunning() |
|
boolean |
Cluster.isServer() |
|
boolean |
Domain.isServer(String name) |
|
boolean |
Server.isServer() |
|
boolean |
Application.isStandaloneModule() |
|
boolean |
Cluster.isVirtual() |
|
<T extends ApplicationConfig> T |
Engine.newApplicationConfig(Class<T> configType) |
Creates a new instance of the specified type of app config.
|
boolean |
Nodes.nodeCreationAllowed() |
Can we create a node?
|
boolean |
Node.nodeInUse() |
Is a node being used by any server instance?
|
void |
Application.recordFileLocations(File app,
File plan) |
|
void |
VirtualServer.removeNetworkListener(String name) |
|
void |
Engine.setApplicationConfig(ApplicationConfig config) |
|
String |
Config.setLoggingProperty(String property,
String value) |
|
void |
MonitoringService.setMonitoringLevel(String name,
String level) |
|
Map<String,String> |
Config.updateLoggingProperties(Map<String,String> properties) |
|
boolean |
AdminService.usesFileRealm() |
|