Searched refs:Server (Results 1 - 25 of 243) sorted by relevance

12345678910

/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DEmbeddedLifecycle.java58 public void creation(Server server);
64 public void destruction(Server server);
H A DContainerBuilder.java92 T create(Server server);
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DClusteredServer.java48 public interface ClusteredServer extends Server {
H A DStandaloneServer.java48 extends Server {
H A DServers.java50 public Map<String, Server> getServer();
52 public Server getServer(String param1);
54 public Map<String, Server> getServersOnNode(Node param1);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DServerFactory.java66 * (singleton) <code>Server</code> instance for this JVM, so that it
82 * The singleton <code>Server</code> instance for this JVM.
84 private static Server server = null;
91 * Return the singleton <code>Server</code> instance for this JVM.
93 public static synchronized Server getServer() {
102 * Set the singleton <code>Server</code> instance for this JVM. This
104 * the (singleton) <code>Server</code> instance that is created for
109 public static synchronized void setServer(Server theServer) {
H A DService.java121 * Return the <code>Server</code> with which we are associated (if any).
123 public Server getServer();
127 * Set the <code>Server</code> with which we are associated (if any).
131 public void setServer(Server server);
H A DServer.java64 * A <code>Server</code> element represents the entire Catalina
66 * the servlet container as a whole. A <code>Server</code> may contain
88 public interface Server { interface
95 * Return descriptive information about this Server implementation and
172 * Return the set of Services defined within this Server.
179 * Server.
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DServers.java69 * @return the list of configured {@link Server}
73 @Create(value="_register-instance", resolver= TypeResolver.class, decorator= Server.CreateDecorator.class,
77 decorator=Server.DeleteDecorator.class,
80 public List<Server> getServer();
86 * @return the Server object, or null if no such server
89 public Server getServer(String name);
95 * @return List of Server objects that reference the passed node.
99 public List<Server> getServersOnNode(Node node);
102 public static Server getServer(Servers instance, String name) {
103 for (Server serve
[all...]
H A DServer.java94 * Java EE Application Server Configuration
96 * Each Application Server instance is a Java EE compliant container. One
97 * server instance is specially designated as the Administration Server in SE/EE
99 * User applications cannot be deployed to an Administration Server instance
104 @NotDuplicateTargetName(message="{server.duplicate.name}", payload=Server.class)
105 public interface Server extends ConfigBeanProxy, Injectable, PropertyBag, Named, SystemPropertyBag, ReferenceContainer, RefContainer, Payload { interface in inherits:ConfigBeanProxy,Injectable,PropertyBag,Named,SystemPropertyBag,ReferenceContainer,RefContainer,Payload
114 @NotTargetKeyword(message="{server.reserved.name}", payload=Server.class)
115 @Pattern(regexp=NAME_SERVER_REGEX, message="{server.invalid.name}", payload=Server.class)
130 @NotTargetKeyword(message="{server.reserved.name}", payload=Server.class)
312 public static boolean isCluster(Server serve
[all...]
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DProcessEnvironment.java67 * Server is the application server
71 public enum ProcessType { Server, ACC, Embedded, Other ; enum constant in enum:ProcessEnvironment.ProcessType
74 return this==Server || this==Embedded;
78 return this==Server;
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/
H A DUndoableCommand.java43 import com.sun.enterprise.config.serverbeans.Server;
81 * call the {@link #undo(AdminCommandContext, ParameterMap, List<Server>)} method on the same instance that was used for the
98 * prepare method since {@link #undo(AdminCommandContext, ParameterMap, List<Server>)} will not be called if the command
119 * The command implementation is guaranteed that the {@link #undo(AdminCommandContext, ParameterMap, List<Server>)}
127 public void undo(AdminCommandContext context, ParameterMap parameters, List<Server> instances);
H A DTarget.java114 Server s = domain.getServerNamed(targetName);
148 * Given a list instance names, get List<Server>
150 public List<Server> getInstances(List<String> names) {
151 List<Server> instances = new ArrayList<Server>();
162 * Given the name of a target, returns a list of Server objects. If given target is a standalone server,
163 * then the server's Server element is returned in the list. If the target is a cluster, then the list of Server
166 * @return list of Server elements that represent the target
168 public List<Server> getInstance
[all...]
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/admin/
H A DAdminInfo.java44 import org.glassfish.internal.embedded.Server;
61 public EmbeddedAdminContainer create(Server server) {
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DAttributeRemovalTest.java43 import com.sun.enterprise.config.serverbeans.Server;
96 Server server = getHabitat().getComponent(Server.class);
109 final Server server = getHabitat().getComponent(Server.class);
112 ConfigSupport.apply(new SingleConfigCode<Server>() {
114 public Object run(Server s) throws PropertyVetoException, TransactionFailure {
121 ConfigSupport.apply(new SingleConfigCode<Server>() {
123 public Object run(Server s) throws PropertyVetoException, TransactionFailure {
H A DServerTest.java44 import com.sun.enterprise.config.serverbeans.Server;
74 Server server = d.getServerNamed("server");
/glassfish-3.1.2/tests/embedded/wrapper/src/main/java/org/glassfish/tests/embedded/
H A DEmbeddedMain.java74 Server.Builder builder = new Server.Builder("asadmin");
76 Server server = builder.embeddedFileSystem(efs).build();
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DRemoteInstanceCommandHelper.java83 Server server = getServer(serverName);
90 public final Server getServer(final String serverName) {
91 for (Server server : servers) {
105 public final String getNode(final Server server) {
122 public final int getAdminPort(Server server) {
132 final private List<Server> servers;
/glassfish-3.1.2/tests/embedded/utils/src/main/java/org/glassfish/tests/embedded/utils/
H A DEmbeddedServerUtils.java46 import org.glassfish.internal.embedded.Server;
80 public static Server createServer(EmbeddedFileSystem fileSystem) throws Exception {
82 Server.Builder builder = new Server.Builder("inplanted");
94 public static void shutdownServer(Server server) throws Exception {
/glassfish-3.1.2/admin/util/src/main/java/org/glassfish/admin/cli/resources/
H A DResourceUtil.java83 Server server = ConfigBeansUtilities.getServerNamed(target);
86 // create new ResourceRef as a child of Server
98 List<Server> instances = tgt.getInstances(target);
99 for (Server svr : instances) {
159 List<Server> servers = domain.getServers().getServer();
160 for(Server server: servers){
185 Server server = ConfigBeansUtilities.getServerNamed(target);
188 // delete ResourceRef for Server
200 List<Server> instances = tgt.getInstances(target);
201 for (Server sv
[all...]
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DListInstancesCommand.java98 private List<Server> serverList;
147 private void noStatus(List<Server> serverList) {
158 for (Server server : serverList) {
191 private void yesStatus(List<Server> serverList, int timeoutInMsec, Logger logger) {
195 for (Server server : serverList) {
277 private List<Server> createServerList() {
288 List<Server> l = new LinkedList<Server>();
289 l.add((Server) rc);
301 private List<Server> getServersForNodeOrConfi
[all...]
H A DClusterCommandHelper.java63 import com.sun.enterprise.config.serverbeans.Server;
140 List<Server> targetServers = domain.getServersInTarget(clusterName);
193 for (Server server : targetServers) {
354 List<Server> optimizeServerListOrder(List<Server> original) {
367 HashMap<String, List<Server>> serverTable =
368 new HashMap<String, List<Server>>();
372 for (Server server : original) {
375 List<Server> serverList = serverTable.get(nodeName);
377 serverList = new ArrayList<Server>();
[all...]
/glassfish-3.1.2/tests/embedded/static/ejb/simple/src/test/java/org/glassfish/tests/embedded/ejb/test/
H A DEmbeddedTest.java63 Server.Builder builder = new Server.Builder("simple");
64 Server server = builder.build();
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/util/
H A DServerPorts.java46 import com.sun.enterprise.config.serverbeans.Server;
54 * Simple pkg-priv class for keeping the system-properties of a Server handy.
72 ServerPorts(Cluster cluster, Config config, Domain domain, Server theServer) {
77 ServerPorts(Domain domain, Server theServer) {
98 private void initialize(Cluster cluster, Config config, Domain domain, Server theServer) {
157 private Server server;
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DMbeanService.java44 import com.sun.enterprise.config.serverbeans.Server;
93 Server s = domain.getServerNamed(instance);
100 Server s = domain.getServerNamed(instance);
111 Server s = null;
128 private List<String> convertList(List<Server> servers) {
130 for (Server svr : servers)

Completed in 99 milliseconds

12345678910