Searched refs:port (Results 1 - 25 of 228) sorted by relevance

12345678910

/glassfish-3.1.2/web/web-embed/api/src/main/java/org/glassfish/embeddable/web/config/
H A DWebListenerConfig.java54 private int port; field in class:WebListenerConfig
60 public WebListenerConfig(String id, int port) { argument
62 this.port = port;
65 public WebListenerConfig(String id, int port, String protocol) { argument
67 this.port = port;
86 * Sets the port number used for configuring <tt>WebListener</tt>.
88 public void setPort(int port) { argument
89 this.port
[all...]
H A DWebContainerConfig.java77 private int port = 8080; field in class:WebContainerConfig
171 * Sets the port of the default <tt>WebListener</tt> (default: 8080).
173 * @param port the port of the default <tt>WebListener</tt>
175 public void setPort(int port) { argument
176 this.port = port;
180 * Gets the port of the default <tt>WebListener</tt> (default: 8080).
182 * @return the port of the default <tt>WebListener</tt>
185 return port;
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DHostAndPort.java46 * Represents a host and a port in a convenient package that also
51 private final int port; field in class:HostAndPort
58 * @param port the port number
61 public HostAndPort(String host, int port, boolean secure) { argument
63 this.port = port;
68 this(rhs.host, rhs.port, rhs.secure);
71 public HostAndPort(String host, int port) { argument
72 this(host, port, fals
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/management/client/prefs/
H A DLoginInfo.java45 * is specific to an admin host and admin port. Thus, with this scheme, there can be
47 * and admin port.
52 private int port; field in class:LoginInfo
59 * The port may not be a negative integer.
61 * @param port integer representing port
66 public LoginInfo(final String host, final int port, final String user, final String password) { argument
67 if (host == null || port < 0 || user == null || password == null)
69 init(host, port, user, password);
75 return ( port );
98 init(final String host, final int port, final String user, final String password) argument
[all...]
H A DLoginInfoStore.java48 * <li> The store can contain at the most one LoginInfo for a host and port combination </li>
57 * Returns a {@link LoginInfo} corresponding to the given host and port, from this store.
58 * The host may not be null. For a given host and port, there can be at most
61 * @param port an integer specifying the port number
66 public LoginInfo read(final String host, final int port) throws StoreException; argument
69 * Removes the {@link LoginInfo} corresponding to the given host and port, from this store.
74 * @param port an integer specifying the port number
79 public void remove(final String host, final int port) throw argument
112 exists(final String host, final int port) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/
H A DVirtualServerInfo.java60 * Holds value of property port.
62 private int port; field in class:VirtualServerInfo
70 public VirtualServerInfo(String protocol, String host, int port) { argument
73 this.port = port;
85 * Getter for property port.
86 * @return value of property port.
89 return this.port;
104 return new URL(protocol, host, port, "");
/glassfish-3.1.2/web/web-embed/api/src/main/java/org/glassfish/embeddable/web/
H A DAjpListener.java63 * @param port the port of the listener
65 public AjpListener(String id, int port) { argument
66 super(id, port);
H A DHttpListener.java45 * HTTP Listener listens on a TCP port for incoming HTTP connection.
61 public HttpListener(String id, int port) { argument
62 super(id, port);
H A DHttpsListener.java67 public HttpsListener(String id, int port) { argument
68 super(id, port);
H A DWebListenerBase.java58 private int port; field in class:WebListenerBase
67 public WebListenerBase(String id, int port) { argument
69 this.port = port;
110 * Sets the port number for this <tt>WebListener</tt>.
112 public void setPort(int port) { argument
113 this.port = port;
117 * Gets the port number of this <tt>WebListener</tt>.
120 return port;
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/net/
H A DDefaultServerSocketFactory.java88 * the host, and is bound to a the specified port. The socket is
92 * @param port the port to listen to
105 public ServerSocket createSocket (int port) argument
110 return (new ServerSocket(port));
117 * the host, is bound to a the specified port, and uses the
121 * @param port the port to listen to
135 public ServerSocket createSocket (int port, int backlog) argument
140 return (new ServerSocket(port, backlo
166 createSocket(int port, int backlog, InetAddress ifAddress) argument
[all...]
H A DServerSocketFactory.java90 * the host, and is bound to a the specified port. The socket is
94 * @param port the port to listen to
107 public ServerSocket createSocket (int port) argument
115 * the host, is bound to a the specified port, and uses the
119 * @param port the port to listen to
133 public ServerSocket createSocket (int port, int backlog) argument
141 * interface on the local host, is bound to a the specified port,
145 * @param port th
160 createSocket(int port, int backlog, InetAddress ifAddress) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/datatypes/
H A DPort.java51 /** Represents a network port on a machine. It's modeled as a functional class.
57 /** Checks if given string represents a port. Does not allow any value other
59 * @param value represents the value of the port.
69 int port = Integer.parseInt(value);
70 if (port < 0 || port > 0xFFFF) { //taken from ServerSocket.java
71 String msg = "value: " + port + " not applicable for Port [0, " + 0xFFFF + "] data type";
/glassfish-3.1.2/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/rmi/
H A DRmiStubRegistryHandler.java81 /** Starts the RMI registry at the given port. If the security flag is
87 RmiStubRegistryHandler(final int port, final boolean secureRegistry, final Logger logger) { argument
95 startInsecureRegistry(port);
101 RmiStubRegistryHandler(final int port, final boolean secureRegistry, final RMIClientSocketFactory cf, final RMIServerSocketFactory sf) {
106 startInsecureRegistry(port, cf, sf);
110 private void startInsecureRegistry(final int port) { argument
112 final Registry r = LocateRegistry.createRegistry(port);
113 logBindings(r, port);
116 final String msg = sm.getString("no.port.msg", new Integer(port));
131 logBindings(final Registry r, final int port) argument
[all...]
H A DJmxServiceUrlFactory.java92 public static JMXServiceURL forRmiJrmpWithoutStub(final int port) { argument
95 final String s = "service:jmx:rmi://" + localhost() + ":" + port;
124 public static JMXServiceURL forRmiIiopWithoutIor(final int port) { argument
127 final String s = "service:jmx:iiop://" + localhost() + ":" + port;
144 * <li> Naming Service's host and port are provided. </li>
147 * <code> service:jmx:rmi:///jndi/rmi://host:port/<Appserver's JNDI name></li>
151 * @parm port int representing the port of naming service like rmi registry
155 public static JMXServiceURL forRmiWithJndiInAppserver(final String host, final int port) { argument
156 return ( forRmiWithJndi(host, port, RMI_JSR160_CS_JNDI_SUFFI
159 forJconsoleOverRmiWithJndiInAppserver(final String host, final int port) argument
178 forRmiWithJndi(final String host, final int port, final String jn, final boolean addHost) argument
206 forRmiWithJndi(final int port, final String jn) argument
214 forRmiWithJndi(final int port) argument
220 forJmxmp(final String host, final int port) argument
237 forJmxmp(final int port) argument
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DJMXConnectorConfig.java46 private String port=null; field in class:JMXConnectorConfig
56 public JMXConnectorConfig(String host, String port, argument
60 this.port=port;
72 return port;
/glassfish-3.1.2/ant-tasks/src/main/java/org/glassfish/ant/embedded/tasks/
H A DStartServerTask.java48 int port = Constants.DEFAULT_HTTP_PORT; field in class:StartServerTask
56 public void setHttpPort(int port) { argument
57 this.port = port;
79 configFile, configFileReadOnly, port);
/glassfish-3.1.2/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/
H A DMQUrl.java57 private String port = null; field in class:MQUrl
82 * Sets the port number of the Url.
84 * @param port Port number of the Url.
86 public void setPort(String port) { argument
87 this.port = port;
112 * i.e> scheme://host:port/service
122 if ( port.equals("") && service.equals("")) {
127 return scheme + "://" + host + ":" + port + "/";
130 return scheme + "://" + host + ":" + port
[all...]
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/comm/
H A DHostAndPort.java46 /** Represents a host and a port in a convenient package that also
61 public HostAndPort(String host, int port, boolean secure){ argument
63 this.mPort = port;
71 public HostAndPort( String host, int port ) {
72 this(host, port, false);
94 Construct a new HostAndPort from a string of the form "host:port"
96 @param str string of the form "host:port"
/glassfish-3.1.2/webservices/soap-tcp/src/main/java/org/glassfish/webservices/transport/tcp/
H A DConnector.java62 private final int port; field in class:Connector
69 public Connector(String host, int port, TCPMessageListener listener) { argument
71 this.port = port;
76 processor = IncomeMessageProcessor.registerListener(port, listener, properties);
105 return port;
108 public void setPort(int port) { argument
127 IncomeMessageProcessor.releaseListener(port);
/glassfish-3.1.2/core/kernel/src/main/java/org/glassfish/kernel/embedded/
H A DPortsImpl.java86 PortImpl port = habitat.getComponent(PortImpl.class);
87 port.setPortNumber(portNumber);
88 ports.put(portNumber, port);
89 return port; }
95 public void remove(Port port) { argument
96 ports.remove(port.getPortNumber());
/glassfish-3.1.2/tests/quicklook/wsit/JaxwsFromWsdl/src/jaxwsfromwsdl/client/
H A DAddNumbersClient.java51 AddNumbersPortType port = null;
54 port = new AddNumbersService().getAddNumbersPort ();
60 int result = port.addNumbers (number1, number2);
75 AddNumbersPortType port = null;
78 port = new AddNumbersService().getAddNumbersPort ();
83 int result = port.addNumbers (number1, number2);
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/
H A DJMXMPConnectorStarter.java67 final int port,
74 super(mbeanServer, address, port, authRealmName, securityEnabled, habitat, bootListener, sslConfig);
88 int port = mPort;
94 mConnectorServer = startJMXMPConnectorServer(port);
105 if (port < 1000)
107 port += 1000; // in case it's a permissions thing
111 port = port + 1;
119 private JMXConnectorServer startJMXMPConnectorServer(final int port) argument
131 final JMXServiceURL serviceURL = new JMXServiceURL("service:jmx:" + JMXMP + "://" +hostname() + ":" + port);
64 JMXMPConnectorStarter( final MBeanServer mbeanServer, final String address, final int port, final String authRealmName, final boolean securityEnabled, final Habitat habitat, final BootAMXListener bootListener, final Ssl sslConfig) argument
[all...]
/glassfish-3.1.2/common/simple-glassfish-api/src/main/java/org/glassfish/embeddable/
H A DGlassFishProperties.java185 * Set the port number for a network listener that the GlassFish server
193 * setPort("http-listener", 8080); // GlassFish will listen on HTTP port 8080
194 * setPort("https-listener", 8181); // GlassFish will listen on HTTPS port 8181
206 * GlassFish server will use "joe" network listener with its port set to 8080.
213 * @param port Port number
214 * @return This object after setting the port.
216 public void setPort(String networkListener, int port) { argument
220 gfProperties.setProperty(key + ".port", Integer.toString(port));
227 * Get the port numbe
[all...]
/glassfish-3.1.2/tests/jbi/soapfault/se_provider/client/
H A DSOAPWebConsumer.java66 com.example.calculator.Calculator port= null;
68 port = service.getCalculatorPort();
71 BindingProvider stub = (BindingProvider)port;
80 port.throwRuntimeException("bhavani");
85 failedMsg = "port.throwRuntimeException() did not receive RuntimeException 'Calculator :: Threw Runtime Exception'";
91 port.throwApplicationException("bhavani");
95 failedMsg = "port.throwApplicationException() did not throw ApplicationException";

Completed in 5248 milliseconds

12345678910