Searched defs:protocol (Results 1 - 25 of 36) sorted by relevance

12

/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DDirContextURLStreamHandlerFactory.java94 * Creates a new URLStreamHandler instance with the specified protocol.
95 * Will return null if the protocol is not <code>jndi</code>.
97 * @param protocol the protocol (must be "jndi" here)
98 * @return a URLStreamHandler for the jndi protocol, or null if the
99 * protocol is not JNDI
101 public URLStreamHandler createURLStreamHandler(String protocol) { argument
102 if (protocol.equals("jndi")) {
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/
H A DEmbeddedContainer.java59 * Binds a port using a specific protocol to this container.
61 * @param protocol the protocol the port should be used for, can
62 * be null and the container can use the port for any protocol(s)
65 public void bind(Port port, String protocol); argument
/glassfish-3.1.2/core/kernel/src/main/java/org/glassfish/kernel/embedded/
H A DEmbeddedAdminCtrImpl.java78 public void bind(Port port, String protocol) { argument
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deploy/shared/
H A DArchiveFactory.java69 * interface depending on the protocol used in the URL.
94 public WritableArchive createArchive(String protocol, File path) throws java.io.IOException { argument
100 return createArchive(protocol, prepareArchiveURI(path));
116 * protocol will define the type of desired archive (jar, file, etc)
122 String protocol = path.getScheme();
123 return createArchive(protocol, path);
126 public WritableArchive createArchive(String protocol, URI path) throws IOException { argument
128 WritableArchive archive = habitat.getComponent(WritableArchive.class, protocol);
130 logger.log(Level.SEVERE, "Cannot find an archive implementation for " + protocol);
131 throw new MalformedURLException("Protocol not supported : " + protocol);
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DVirtualServerInfo.java65 * Holds value of property protocol.
67 private String protocol; field in class:VirtualServerInfo
70 public VirtualServerInfo(String protocol, String host, int port) { argument
71 this.protocol = protocol;
93 * Getter for property protocol.
94 * @return Value of property protocol.
97 return this.protocol;
104 return new URL(protocol, host, port, "");
/glassfish-3.1.2/web/admin/src/main/java/org/glassfish/web/admin/cli/
H A DDeleteProtocol.java78 @Service(name="delete-protocol")
80 @I18n("delete.protocol")
94 Protocol protocol = null; field in class:DeleteProtocol
123 protocol = protocols.findProtocol(protocolName);
125 if (protocol == null) {
127 "delete.protocol.notexists", "{0} protocol doesn't exist",
133 // check if the protocol to be deleted is being used by
136 List<NetworkListener> nwlsnrList = protocol.findNetworkListeners();
138 if (protocol
[all...]
H A DCreateNetworkListener.java95 @Param(name = "protocol", optional = false)
96 String protocol; field in class:CreateNetworkListener
146 Protocol prot = networkConfig.findProtocol(protocol);
149 "The specified protocol {0} is not yet configured", protocol));
154 report.setMessage(localStrings.getLocalString("create.network.listener.fail.bad.protocol",
155 "Protocol {0} has neither a protocol nor a port-unification configured", protocol));
164 newNetworkListener.setProtocol(protocol);
189 private VirtualServer findVirtualServer(Protocol protocol) { argument
[all...]
H A DCreateProtocolFilter.java73 @Service(name = "create-protocol-filter")
75 @I18n("create.protocol.filter")
83 @Param(name = "protocol", optional = false)
107 final Protocol protocol = protocols.findProtocol(protocolName);
108 validate(protocol, "create.http.fail.protocolnotfound",
109 "The specified protocol {0} is not yet configured", protocolName);
117 ProtocolChainInstanceHandler handler = getHandler(protocol);
125 throw new TransactionFailure( String.format("A protocol filter named %s already exists.",
166 private ProtocolChainInstanceHandler getHandler(Protocol protocol) throws TransactionFailure { argument
167 ProtocolChainInstanceHandler handler = protocol
[all...]
H A DDeleteProtocolFinder.java76 @Service(name = "delete-protocol-finder")
78 @I18n("delete.protocol.finder")
86 @Param(name = "protocol", optional = false)
108 final Protocol protocol = protocols.findProtocol(protocolName);
109 validate(protocol, "create.http.fail.protocolnotfound",
110 "The specified protocol {0} is not yet configured", protocolName);
111 PortUnification pu = getPortUnification(protocol);
127 String.format("No finder named %s found for protocol %s", name, protocolName));
136 }, protocol, pu);
151 private PortUnification getPortUnification(Protocol protocol) { argument
[all...]
H A DDeleteProtocolFilter.java78 @Service(name = "delete-protocol-filter")
80 @I18n("delete.protocol.filter")
88 @Param(name = "protocol", optional = false)
110 final Protocol protocol = protocols.findProtocol(protocolName);
111 validate(protocol, "create.http.fail.protocolnotfound",
112 "The specified protocol {0} is not yet configured", protocolName);
113 ProtocolChainInstanceHandler handler = getHandler(protocol);
127 String.format("No filter named %s found for protocol %s", name, protocolName));
152 "protocol-chain", handler.getParent(Protocol.class).getName()));
171 private ProtocolChainInstanceHandler getHandler(Protocol protocol) throw argument
[all...]
/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/protocol/s1ashttp/
H A DClientProvider.java42 * $Header: /cvs/glassfish/jmx-remote/rjmx-impl/src/java/com/sun/enterprise/admin/jmx/remote/protocol/s1ashttp/ClientProvider.java,v 1.3 2005/12/25 04:26:36 tcfujii Exp $
47 package com.sun.enterprise.admin.jmx.remote.protocol.s1ashttp;
/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/protocol/s1ashttps/
H A DClientProvider.java42 * $Header: /cvs/glassfish/jmx-remote/rjmx-impl/src/java/com/sun/enterprise/admin/jmx/remote/protocol/s1ashttps/ClientProvider.java,v 1.3 2005/12/25 04:26:36 tcfujii Exp $
47 package com.sun.enterprise.admin.jmx.remote.protocol.s1ashttps;
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/protocol/
H A DVersion.java57 package com.sun.enterprise.admin.jmx.remote.protocol;
70 public final String CLASS_NAME = "com.sun.enterprise.admin.jmx.remote.protocol.SunOneVersion";
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DJMXConnectorConfig.java49 private String protocol=null; field in class:JMXConnectorConfig
57 String user, String password, String protocol)
63 this.protocol=protocol;
84 return protocol;
56 JMXConnectorConfig(String host, String port, String user, String password, String protocol) argument
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DAppserverConnectionSourceTest.java75 final String protocol,
80 new AppserverConnectionSource(protocol, host, port, user, password, null);
91 final String protocol = (String) getEnvValue("PROTOCOL");
95 if (host == null || port == null || protocol == null ||
97 !AppserverConnectionSource.isSupportedProtocol(protocol)) {
101 ", protocol = " + protocol +
105 testConnect(host, new Integer(port).intValue(), protocol, user, password);
110 create(final String protocol) { argument
111 return (new AppserverConnectionSource(protocol, "localhos
72 testConnect( final String host, final int port, final String protocol, final String user, final String password) argument
[all...]
/glassfish-3.1.2/web/web-embed/api/src/main/java/org/glassfish/embeddable/web/
H A DWebListener.java86 * Sets the protocol for this <tt>WebListener</tt>.
88 * @param protocol the protocol for this <tt>WebListener</tt>
90 public void setProtocol(String protocol); argument
93 * Gets the protocol of this <tt>WebListener</tt>.
95 * @return the protocol of this <tt>WebListener</tt>
H A DWebListenerBase.java60 private String protocol; field in class:WebListenerBase
124 * Sets the protocol which will be used by this <tt>WebListener</tt>.
126 public void setProtocol(String protocol) { argument
127 this.protocol = protocol;
131 * Gets the protocol used by this <tt>WebListener</tt>.
134 return protocol;
/glassfish-3.1.2/web/web-embed/api/src/main/java/org/glassfish/embeddable/web/config/
H A DWebListenerConfig.java56 private String protocol; field in class:WebListenerConfig
65 public WebListenerConfig(String id, int port, String protocol) { argument
68 this.protocol = protocol;
100 * Sets the protocol used for configuring <tt>WebListener</tt>.
102 public void setProtocol(String protocol) { argument
103 this.protocol = protocol;
107 * Gets the protocol used for configuring <tt>WebListener</tt>.
110 return protocol;
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DDynamicConfigListener.java228 private NotProcessed processProtocol(Changed.TYPE type, Protocol protocol, PropertyChangeEvent[] events) { argument
230 for (NetworkListener listener : protocol.findNetworkListeners()) {
H A DDummyNetworkListener.java67 private String protocol; field in class:DummyNetworkListener
110 return protocol;
114 protocol = value;
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DServerConnectionIdentifier.java79 * Holds value of property protocol.
81 private String protocol; field in class:ServerConnectionIdentifier
171 this.protocol = (secure ?
191 * Getter for property protocol.
192 * the protocol can only be two values:
195 * @return Value of property protocol.
223 if (protocol==null) {
224 return dci.protocol==null;
226 return protocol.equals(dci.protocol);
[all...]
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/
H A DRMIConnectorStarter.java77 * This class configures and starts the JMX RMI connector server using rmi_jrmp protocol.
108 final String protocol,
119 if (!"rmi_jrmp".equals(protocol)) {
120 throw new IllegalArgumentException("JMXConnectorServer not yet supporting protocol: " + protocol);
274 // env.put("jmx.remote.protocol.provider.pkgs", "com.sun.jmx.remote.protocol");
275 //env.put("jmx.remote.protocol.provider.class.loader", this.getClass().getClassLoader());
104 RMIConnectorStarter( final MBeanServer mbeanServer, final String address, final int port, final String protocol, final String authRealmName, final boolean securityEnabled, final Habitat habitat, final BootAMXListener bootListener, final Ssl sslConfig) argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DCoyoteServerSocketFactory.java85 * <li><strong>protocol</strong> - SSL protocol to use. [TLS]</li>
106 private String protocol = "TLS"; field in class:CoyoteServerSocketFactory
257 * Gets the SSL protocol variant to be used.
259 * @return SSL protocol variant
262 return (this.protocol);
266 * Sets the SSL protocol variant to be used.
268 * @param protocol SSL protocol variant
270 public void setProtocol(String protocol) { argument
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DEmbeddedWebContainer.java292 * @param protocol the http protocol to use.
296 String protocol) {
314 "' port='" + port + "' protocol='" + protocol + "'");
324 // if (protocol.equals("ajp")) {
328 if (protocol.equals("memory")) {
331 } else if (protocol.equals("https")) {
295 createConnector(String address, int port, String protocol) argument
/glassfish-3.1.2/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/rmi/
H A DJmxConnectorServerDriver.java97 private RemoteJmxProtocol protocol; field in class:JmxConnectorServerDriver
108 * the various parameters. The protocol defaults to "rmi/jrmp". The rmi
114 this.protocol = RemoteJmxProtocol.RMIJRMP;
123 /** Sets the protocol to one of the values in RemoteJmxProtocol.
126 public void setProtocol(final RemoteJmxProtocol protocol) { argument
127 this.protocol = protocol;
262 if (protocol == RemoteJmxProtocol.RMIJRMP) {
270 if (protocol == RemoteJmxProtocol.RMIJRMP) {
282 if (protocol
[all...]

Completed in 1101 milliseconds

12