Searched refs:protocol (Results 1 - 25 of 81) sorted by relevance

1234

/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/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/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/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/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/mail/
H A DMailSessionAuthenticator.java62 String protocol = getRequestingProtocol();
63 if(protocol != null) {
64 String password = props.getProperty("mail." + protocol + ".password");
/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";
H A DVersionTemplate48 package com.sun.enterprise.admin.jmx.remote.protocol;
/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/web/web-embed/api/src/main/java/org/glassfish/embeddable/web/
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;
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>
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/org/glassfish/resources/custom/factory/
H A DURLObjectFactory.java60 String protocol = null;
71 if(type.equalsIgnoreCase("protocol")){
72 protocol = content;
92 if(protocol != null && host != null && port != -1 && file != null){
93 return new URL(protocol, host, port, file);
94 }else if(protocol != null && host != null && file != null){
95 return new URL(protocol, host, file);
/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/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/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/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...]
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DGrizzlyConfigSchemaMigrator.java142 final Protocol protocol = param.createChild(Protocol.class);
143 param.getProtocol().add(protocol);
144 protocol.setName(ASADMIN_LISTENER);
145 Http http = protocol.createChild(Http.class);
147 protocol.setHttp(http);
150 return protocol;
192 private void createHttp(Protocol protocol, HttpListener listener) throws TransactionFailure { argument
193 Http http = protocol.createChild(Http.class);
195 protocol.setHttp(http);
203 final Protocol protocol)
202 createNetworkListener(Config baseConfig, final HttpListener listener, final Protocol protocol) argument
824 updateListener(NetworkListener netListener, HttpListener listener, Protocol protocol) argument
[all...]
/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...]
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DNetworkConfigTest.java52 private static final String TRIGGER_PROTOCOLS = "Click New to define a new protocol.";
122 final String protocol = "protocol"+generateRandomString();
139 setFieldValue("propertyForm:propertySheet:propertSectionTextField:nameNew:name", protocol);
155 assertTrue(isTextPresent(protocol));
157 clickAndWait(getLinkIdByLinkText("propertyForm:configs", protocol), "Edit Protocol");
158 assertTrue(isTextPresent(protocol));
160 clickAndWait("propertyForm:protocolTabs:httpTab", "Modify HTTP settings for the protocol.");
171 clickAndWait("propertyForm:protocolTabs:fileCacheTab", "Modify file cache settings for the protocol.");
179 deleteRow("propertyForm:configs:topActionsGroup1:button1", "propertyForm:configs", protocol);
[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/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DDefaultValueTest.java85 for (Protocol protocol : protocols.getProtocol()) {
86 Http http = protocol.getHttp();
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/ssl/
H A DSSLParams.java51 * protocol = TLS
73 private String protocol = "TLS"; field in class:SSLParams
164 return protocol;
167 public void setProtocol(String protocol) { argument
168 this.protocol = protocol;
H A DSecureRMIClientSocketFactory.java184 * Return the list of allowed protocol.
195 * Check to see if the requested protocol is among the
198 for (String protocol : requestedProtocols) {
199 protocol = protocol.trim();
200 if (supportedProtocol.equals(protocol)) {
204 list.add(protocol);
231 * Check to see if the requested protocol is among the

Completed in 30 milliseconds

1234