| Modifier and Type | Method and Description |
|---|---|
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> |
Config.checkIfExtensionExists(Class<P> configBeanType) |
<P extends ConfigBeanProxy> |
Domain.checkIfExtensionExists(Class<P> configBeanType) |
boolean |
JvmOptionBag.contains(String option) |
boolean |
SystemPropertyBag.containsProperty(String name) |
boolean |
Application.containsSnifferType(String snifferType) |
<T extends ConfigExtension> |
Config.createDefaultChildByType(Class<T> type) |
void |
Server.createResourceRef(String enabled,
String refName) |
void |
Config.createResourceRef(String enabled,
String refName) |
void |
Cluster.createResourceRef(String enabled,
String refName) |
void |
Server.deleteResourceRef(String name) |
void |
Config.deleteResourceRef(String refName) |
void |
Cluster.deleteResourceRef(String refName) |
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 |
Server.getApplicationRef(String appName) |
ApplicationRef |
Cluster.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 |
Server.getCluster()
Returns the cluster instance this instance is referenced in or null
if there is no cluster referencing this server instance.
|
Cluster |
Clusters.getCluster(String name)
Return the cluster with the given name, or null if no such cluster exists.
|
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 |
AppTenant.getDeployProperties() |
Properties |
Application.getDeployProperties() |
String |
Domain.getEnabledForApplication(String target,
String appName) |
Engine |
Module.getEngine(String snifferType) |
<T extends ApplicationExtension> |
Application.getExtensionByType(Class<T> type) |
<T extends AvailabilityServiceExtension> |
AvailabilityService.getExtensionByType(Class<T> type) |
<T extends DiagnosticServiceExtension> |
DiagnosticService.getExtensionByType(Class<T> type) |
<T extends ApplicationExtension> |
Application.getExtensionsByType(Class<T> type) |
<T extends ClusterExtension> |
Cluster.getExtensionsByType(Class<T> type) |
<T extends ClusterExtension> |
Cluster.getExtensionsByTypeAndName(Class<T> type,
String name) |
String |
AuthRealm.getGroupMapping() |
String |
ServerResource.getIdentity() |
String |
ResourcePool.getIdentity() |
String |
Resource.getIdentity() |
String |
BindableResource.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() |
<T> T |
Applications.getModule(Class<T> type,
String moduleID) |
Module |
Application.getModule(String moduleName) |
Map<String,Properties> |
Application.getModulePropertiesMap() |
<T> List<T> |
Applications.getModules(Class<T> type)
Gets a subset of
Applications.getModules() that has the given 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 |
Server.getReference() |
String |
Cluster.getReference()
Returns the cluster configuration reference
|
ReferenceContainer |
Domain.getReferenceContainerNamed(String name) |
List<ReferenceContainer> |
Domain.getReferenceContainersOf(Config config) |
<T> Resource |
Resources.getResourceByName(Class<T> type,
String name) |
ResourceRef |
Server.getResourceRef(String name) |
ResourceRef |
Config.getResourceRef(String refName) |
ResourceRef |
Cluster.getResourceRef(String refName) |
<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 |
Server.isCluster() |
boolean |
Cluster.isCluster() |
boolean |
Domain.isCurrentInstanceMatchingTarget(String target,
String appName,
String currentInstance,
List<String> referencedTargets) |
boolean |
Server.isDas() |
boolean |
Config.isDas() |
boolean |
Cluster.isDas() |
boolean |
Node.isDefaultLocalNode()
True if this is the default local node.
|
boolean |
Cluster.isDeploymentGroup() |
boolean |
SecureAdmin.isEnabled() |
boolean |
Server.isInstance() |
boolean |
Cluster.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 |
Server.isResourceRefExists(String refName) |
boolean |
Config.isResourceRefExists(String refName) |
boolean |
Cluster.isResourceRefExists(String refName) |
boolean |
Server.isRunning() |
boolean |
Server.isServer() |
boolean |
Cluster.isServer() |
boolean |
Domain.isServer(String name) |
boolean |
Application.isStandaloneModule() |
boolean |
Cluster.isVirtual() |
<T extends ApplicationConfig> |
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() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Notifier> |
AdminAuditConfiguration.getNotifierByType(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentGroup.createResourceRef(String enabled,
String refName) |
void |
DeploymentGroup.deleteResourceRef(String refName) |
ApplicationRef |
DeploymentGroup.getApplicationRef(String appName) |
DeploymentGroup |
DeploymentGroups.getDeploymentGroup(String name)
Return the deployment group with the specified name
|
DGServerRef |
DeploymentGroup.getDGServerRefByRef(String ref) |
List<Server> |
DeploymentGroup.getInstances() |
ResourceRef |
DeploymentGroup.getResourceRef(String refName) |
boolean |
DeploymentGroup.isResourceRefExists(String refName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MonitoredAttribute.equals(MonitoredAttribute attr) |
<T extends Notifier> |
MonitoringServiceConfiguration.getNotifierByType(Class type)
Gets a specific notifier
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Checker> |
HealthCheckServiceConfiguration.getCheckerByType(Class<T> type) |
<T extends Notifier> |
HealthCheckServiceConfiguration.getNotifierByType(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
<T extends NotifierConfiguration> |
NotificationServiceConfiguration.getNotifierConfigurationByType(Class type) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Notifier> |
RequestTracingServiceConfiguration.getNotifierByType(Class type) |
| Modifier and Type | Method and Description |
|---|---|
String |
ContextService.getIdentity() |
String |
ManagedExecutorService.getIdentity() |
String |
ManagedThreadFactory.getIdentity() |
String |
ManagedScheduledExecutorService.getIdentity() |
| Modifier and Type | Method and Description |
|---|---|
String |
ConnectorConnectionPool.getIdentity() |
String |
ConnectorResource.getIdentity() |
String |
PersistenceManagerFactoryResource.getIdentity() |
String |
WorkSecurityMap.getIdentity() |
String |
ResourceAdapterConfig.getIdentity() |
String |
AdminObjectResource.getIdentity() |
| Modifier and Type | Method and Description |
|---|---|
String |
JdbcConnectionPool.getIdentity() |
String |
JdbcResource.getIdentity() |
| Modifier and Type | Method and Description |
|---|---|
Date |
LbConfig.getLastApplied() |
Date |
LbConfig.getLastExported() |
LbConfig |
LbConfigs.getLbConfig(String name)
Return the lb config with the given name, or null if no such lb config exists.
|
LoadBalancer |
LoadBalancers.getLoadBalancer(String name)
Return the load balancer config with the given name,
or null if no such load balancer exists.
|
<T> T |
LbConfig.getRefByRef(Class<T> type,
String ref) |
<T> List<T> |
LbConfig.getRefs(Class<T> type) |
boolean |
LbConfig.setLastApplied() |
boolean |
LbConfig.setLastExported() |
| Modifier and Type | Method and Description |
|---|---|
String |
ExternalJndiResource.getIdentity() |
String |
CustomResource.getIdentity() |
| Modifier and Type | Method and Description |
|---|---|
String |
MailResource.getIdentity() |
| Modifier and Type | Method and Description |
|---|---|
<T extends SecurityConfiguration> |
SecurityConfigurations.getDefaultSecurityServiceByType(Class<T> type)
Gets the default configured security service by security service type.
|
Map<String,?> |
LoginModuleConfig.getModuleOptions()
Gets the options of the LoginModule for use with JAAS Configuration.
|
SecurityProvider |
SecurityConfiguration.getSecurityProviderByName(String name)
Gets a named security provider.
|
SecurityConfiguration |
SecurityConfigurations.getSecurityServiceByName(String name)
Gets a named security service configuration.
|
<T extends SecurityConfiguration> |
SecurityConfigurations.getSecurityServiceByName(String name,
Class<T> type)
Gets a named security service configuration by specific security type.
|
<T extends SecurityConfiguration> |
SecurityConfigurations.getSecurityServicesByType(Class<T> type)
Gets the list of configured security services by security service type.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
AuthorizationProviderConfig.getProviderOptions()
Gets the options of the LoginModule for use with JAAS Configuration.
|
Map<String,?> |
RoleMappingProviderConfig.getProviderOptions()
Gets the options of the provider.
|
| Modifier and Type | Method and Description |
|---|---|
List<ContextParam> |
WebModuleConfig.contextParamsMatching(String nameOrNull) |
void |
WebModuleConfig.deleteContextParam(String name) |
void |
WebModuleConfig.deleteEnvEntry(String name) |
List<EnvEntry> |
WebModuleConfig.envEntriesMatching(String nameOrNull) |
ContextParam |
WebModuleConfig.getContextParam(String name) |
EnvEntry |
WebModuleConfig.getEnvEntry(String name) |
void |
EnvEntry.validateValue()
Validates the value in the env-entry-value subelement against the
type stored in the env-entry-type subelement.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ConfigBeanProxy> |
ConfigBeanProxy.createChild(Class<T> type)
Creates a child element of this configuration element
|
ConfigBeanProxy |
ConfigBeanProxy.deepCopy(ConfigBeanProxy parent)
Performs a deep copy of this configuration element and returns it.
|
ConfigBeanProxy |
ConfigBeanProxy.getParent()
Returns the parent element of this configuration element.
|
<T extends ConfigBeanProxy> |
ConfigBeanProxy.getParent(Class<T> type)
Returns the typed parent element of this configuration element.
|
| Modifier and Type | Method and Description |
|---|---|
Property |
PropertyBag.getProperty(String name) |
String |
PropertyBag.getPropertyValue(String name)
Returns a property value if the bean has properties and one of its
properties name is equal to the one passed.
|
String |
PropertyBag.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.
|
Copyright © 2019. All rights reserved.