Searched refs:domainConfig (Results 1 - 25 of 34) sorted by relevance

12

/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DDomainsManager.java71 * @param domainConfig The configuration params that are required to create
81 public void createDomain(DomainConfig domainConfig) argument
88 * @param domainConfig
95 public void deleteDomain(DomainConfig domainConfig) argument
105 public void startDomain(DomainConfig domainConfig)
111 * @param domainConfig
115 public void stopDomain(DomainConfig domainConfig)
121 public String[] listDomains(DomainConfig domainConfig) argument
128 public String[] listDomainsAndStatus(DomainConfig domainConfig)
135 public void changeMasterPassword(DomainConfig domainConfig)
138 validateDomain(DomainConfig domainConfig, boolean domainExists) argument
[all...]
H A DDomainConfigValidator.java63 * domainConfig entry is the key, dataType, displayText and an optional
108 super(strMgr.getString("domainConfig"), DomainConfig.class);
119 * Validates the domainConfig. For each required domain config entry in the
120 * entries, gets the value from the domainConfig object and invokes the
123 * @param domainConfig The domainConfig object that needs to be validated.
124 * A domainConfig object is valid if it
130 * @throws InvalidConfigException If invalid domainConfig is supplied.
132 public void validate(Object domainConfig) argument
135 super.validate(domainConfig);
210 isValidate(String name, Object domainConfig) argument
[all...]
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/
H A DPEDomainsManager.java115 public void validateDomain(DomainConfig domainConfig, boolean domainExists) argument
119 checkRepository(domainConfig, domainExists, domainExists);
126 public void validateAdminUserAndPassword(DomainConfig domainConfig)
130 validateAdminUserAndPassword(domainConfig, getDomainUser(domainConfig),
131 getDomainPasswordClear(domainConfig));
137 public void validateMasterPassword(DomainConfig domainConfig) argument
141 validateMasterPassword(domainConfig, getMasterPasswordClear(domainConfig));
147 public void createDomain(DomainConfig domainConfig) argument
204 createJBIInstance(String instanceName, DomainConfig domainConfig) argument
219 setPermissions(DomainConfig domainConfig) argument
233 deleteDomain(DomainConfig domainConfig) argument
283 listDomains(DomainConfig domainConfig) argument
294 createDomainXmlEvents(DomainConfig domainConfig) argument
322 getDomainXmlTokens(DomainConfig domainConfig) argument
326 createDomainXml(DomainConfig domainConfig) argument
376 createScripts(DomainConfig domainConfig) argument
384 createStartServ(DomainConfig domainConfig, TokenValueSet tokens) argument
401 createStopServ(DomainConfig domainConfig, TokenValueSet tokens) argument
421 createAppClientContainerXml( DomainConfig domainConfig) argument
439 createIndexFile( DomainConfig domainConfig) argument
458 createLoggingProperties(DomainConfig domainConfig) argument
498 createDefaultWebXml( DomainConfig domainConfig) argument
568 getDomainDir(DomainConfig domainConfig) argument
573 getDomainRoot(DomainConfig domainConfig) argument
589 getDomainUser(DomainConfig domainConfig) argument
600 getDomainPasswordClear(DomainConfig domainConfig) argument
605 getMasterPasswordClear(DomainConfig domainConfig) argument
610 getNewMasterPasswordClear(DomainConfig domainConfig) argument
615 saveMasterPassword(DomainConfig domainConfig) argument
[all...]
H A DPEDomainXmlTokens.java88 public static TokenValueSet getTokenValueSet(DomainConfig domainConfig) argument
91 (String)domainConfig.get(DomainConfig.K_INSTALL_ROOT);
93 (String)domainConfig.get(DomainConfig.K_DOMAINS_ROOT);
97 String instanceName = (String)domainConfig.get(DomainConfig.K_SERVERID);
106 (String)domainConfig.get(DomainConfig.K_HOST_NAME));
110 (Integer)domainConfig.get(DomainConfig.K_ADMIN_PORT);
115 (Integer)domainConfig.get(DomainConfig.K_INSTANCE_PORT);
120 (Integer)domainConfig.get(DomainConfig.K_ORB_LISTENER_PORT);
125 (Integer)domainConfig.get(DomainConfig.K_JMS_PORT);
134 (Integer)domainConfig
[all...]
H A DPEScriptsTokens.java63 * @param domainConfig
65 public static TokenValueSet getTokenValueSet(DomainConfig domainConfig) argument
67 final PEFileLayout layout = new PEFileLayout(domainConfig);
71 final String configRootDir = domainConfig.getConfigRoot();
80 final String instanceName = (String)domainConfig.get(DomainConfig.K_SERVERID);
87 tv = new TokenValue(DOMAIN_NAME, domainConfig.getDomainName());
H A DPEAccXmlTokens.java59 public static TokenValueSet getTokenValueSet(DomainConfig domainConfig) argument
61 final PEFileLayout layout = new PEFileLayout(domainConfig);
71 (String)domainConfig.get(DomainConfig.K_HOST_NAME));
75 (Integer)domainConfig.get(DomainConfig.K_ORB_LISTENER_PORT);
H A DPEDomainConfigValidator.java114 public void validate(Object domainConfig) throws InvalidConfigException{ argument
115 super.validate(domainConfig);
116 uniquePorts((DomainConfig) domainConfig);
119 protected boolean isValidate(String name, Object domainConfig) argument
125 return (isPortEntry) ? isValidatePorts((Map)domainConfig) : true;
128 private boolean isValidatePorts(Map domainConfig) argument
131 (Boolean)domainConfig.get(DomainConfig.K_VALIDATE_PORTS);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DJDBCConnectionPoolConfigTest.java75 ensureDefaultInstance(final DomainConfig domainConfig) { argument
77 domainConfig.getResourcesConfig().getJDBCConnectionPoolConfigMap().get(
81 result = createInstance(domainConfig,
90 final DomainConfig domainConfig,
94 return domainConfig.getResourcesConfig().createJDBCConnectionPoolConfig(
89 createInstance( final DomainConfig domainConfig, final String name, final String datasourceClassname, final Map<String, String> optional) argument
H A DResourceAdapterConfigTest.java70 ensureDefaultInstance(final DomainConfig domainConfig) { argument
72 domainConfig.getResourcesConfig().getResourceAdapterConfigMap().get(getDefaultInstanceName());
75 result = createInstance(domainConfig, getDefaultInstanceName());
83 final DomainConfig domainConfig,
86 domainConfig.getResourcesConfig().createResourceAdapterConfig(name, null);
82 createInstance( final DomainConfig domainConfig, final String name) argument
H A DClusteredServerConfigTest.java93 final DomainConfig domainConfig = getDomainConfig();
95 if (domainConfig.getServersConfig().getClusteredServerConfigMap().get(serverName) != null) {
96 domainConfig.getServersConfig().removeClusteredServerConfig(serverName);
97 } else if (domainConfig.getServersConfig().getStandaloneServerConfigMap().get(serverName) != null) {
98 domainConfig.getServersConfig().removeStandaloneServerConfig(serverName);
102 ClusterConfigTest.ensureDefaultInstance(domainConfig);
104 if (domainConfig.getServersConfig().getClusteredServerConfigMap().get(serverName) != null) {
105 domainConfig.getServersConfig().removeClusteredServerConfig(serverName);
106 assert domainConfig.getServersConfig().getClusteredServerConfigMap().get(serverName) == null;
114 domainConfig
[all...]
H A DAdminObjectResourceConfigTest.java71 ensureDefaultInstance(final DomainConfig domainConfig) { argument
73 domainConfig.getResourcesConfig().getAdminObjectResourceConfigMap().get(getDefaultInstanceName());
77 domainConfig,
89 final DomainConfig domainConfig,
94 return domainConfig.getResourcesConfig().createAdminObjectResourceConfig(name,
88 createInstance( final DomainConfig domainConfig, final String name, final String resType, final String resAdapter, final Map<String, String> optional) argument
H A DCustomResourceConfigTest.java76 ensureDefaultInstance(final DomainConfig domainConfig) { argument
78 domainConfig.getResourcesConfig().getCustomResourceConfigMap().get(getDefaultInstanceName());
81 result = createInstance(domainConfig,
90 final DomainConfig domainConfig,
96 domainConfig.getResourcesConfig().createCustomResourceConfig(name, resType, factoryClass, optional);
89 createInstance( final DomainConfig domainConfig, final String name, final String resType, final String factoryClass, final Map<String, String> optional) argument
H A DConnectorResourceConfigTest.java73 ensureDefaultInstance(final DomainConfig domainConfig) { argument
75 domainConfig.getResourcesConfig().getConnectorResourceConfigMap().get(getDefaultInstanceName());
78 ConnectorConnectionPoolConfigTest.ensureDefaultInstance(domainConfig);
81 result = createInstance(domainConfig,
91 final DomainConfig domainConfig,
95 return domainConfig.getResourcesConfig().createConnectorResourceConfig(
90 createInstance( final DomainConfig domainConfig, final String name, final String poolName, final Map<String, String> optional) argument
H A DJDBCResourceConfigTest.java75 ensureDefaultInstance(final DomainConfig domainConfig) { argument
77 domainConfig.getResourcesConfig().getJDBCResourceConfigMap().get(getDefaultInstanceName());
81 JDBCConnectionPoolConfigTest.ensureDefaultInstance(domainConfig);
83 result = createInstance(domainConfig,
92 final DomainConfig domainConfig,
96 return domainConfig.getResourcesConfig().createJDBCResourceConfig(
91 createInstance( final DomainConfig domainConfig, final String name, final String datasourceClassname, final Map<String, String> optional) argument
H A DClusterConfigTest.java70 ensureDefaultInstance(final DomainConfig domainConfig) { argument
72 domainConfig.getClustersConfig().getClusterConfigMap().get(getDefaultInstanceName());
75 result = domainConfig.getClustersConfig().createClusterConfig(
H A DCustomMBeanConfigTest.java79 ensureDefaultInstance(final DomainConfig domainConfig) { argument
81 domainConfig.getResourcesConfig().getCustomMBeanConfigMap().get(getDefaultInstanceName());
85 domainConfig,
95 final DomainConfig domainConfig,
99 domainConfig.getResourcesConfig().createCustomMBeanConfig(name, IMPL_CLASSNAME,
166 final DomainConfig domainConfig,
169 return createInstance(domainConfig, name, optional);
224 final DomainConfig domainConfig = getDomainConfig();
251 create(domainConfig, TEST_NAME_BASE + i, optional);
94 createInstance( final DomainConfig domainConfig, final String name, final Map<String, String> optional) argument
165 create( final DomainConfig domainConfig, final String name, final Map<String, String> optional) argument
H A DConfigConfigTest.java71 final DomainConfig domainConfig = domainRoot.getDomainConfig();
72 final Map<String, ConfigConfig> existing = domainConfig.getConfigsConfig().getConfigConfigMap();
H A DReferencesTest.java163 final DomainConfig domainConfig = getDomainRoot().getDomainConfig();
165 domainConfig.getServersConfig().getStandaloneServerConfigMap().get("server");
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DAMXConfigGetters.java76 public Domain domainConfig() { method in class:AMXConfigGetters
81 return domainConfig().getResources();
85 return domainConfig().getApplications();
89 return domainConfig().getSystemApplications();
114 return child(domainConfig().getServers(), Server.class, name);
141 return child(domainConfig().getConfigs(), Config.class, name);
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DPerformanceTest.java276 DomainConfig domainConfig = getDomainRoot().getDomainConfig();
283 final Mapxxx servers = domainConfig.getStandaloneServerConfigMap();
284 final Mapxxx clusters = domainConfig.getClusterConfigMap();
299 final DomainConfig domainConfig = domainRoot.getDomainConfig();
305 testMethod(domainConfig, "getNodeAgentConfigMap", null, ITER);
306 testMethod(domainConfig, "getConfigConfigMap", null, ITER);
307 testMethod(domainConfig, "getStandaloneServerConfigMap", null, ITER);
308 testMethod(domainConfig, "getClusteredServerConfigMap", null, ITER);
309 testMethod(domainConfig, "getServerConfigMap", null, ITER);
310 testMethod(domainConfig, "getClusterConfigMa
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/
H A DResourceAdapterConfigDeployer.java78 ResourceAdapterConfig domainConfig =
80 String rarName = domainConfig.getResourceAdapterName();
86 crt.addResourceAdapterConfig(rarName, domainConfig);
105 ResourceAdapterConfig domainConfig =
107 String rarName = domainConfig.getResourceAdapterName();
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/
H A DChangeMasterPasswordCommandDAS.java103 DomainConfig domainConfig = new DomainConfig(getDomainName(),
123 domainConfig.put(DomainConfig.K_MASTER_PASSWORD, mp);
124 domainConfig.put(DomainConfig.K_NEW_MASTER_PASSWORD, nmp);
125 domainConfig.put(DomainConfig.K_SAVE_MASTER_PASSWORD, savemp);
126 manager.changeMasterPassword(domainConfig);
H A DDeleteDomainCommand.java94 DomainConfig domainConfig =
99 manager.deleteDomain(domainConfig);
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/servedcontent/
H A DACCConfigContent.java72 public ACCConfigContent(File domainConfig, File installLibAppclient) throws FileNotFoundException, IOException { argument
75 new File(domainConfig, "sun-acc.xml"),
76 new File(domainConfig, "sun-acc.jws.xml"));
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/
H A DAMXConfigStartupService.java147 final Domain domainConfig = getDomainConfigProxy();
148 if (domainConfig != null) {
149 ImplUtil.unregisterAMXMBeans(domainConfig);

Completed in 31 milliseconds

12