org.apache.commons.modeler.demo
Class Connector

java.lang.Object
  extended by org.apache.commons.modeler.demo.Connector

public class Connector
extends java.lang.Object

Sample managed object for the Modeler Demonstration Application, based on the Catalina architecture of Tomcat 4.

Version:
$Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
Author:
Craig R. McClanahan

Constructor Summary
Connector()
          Construct a default instance of this class.
Connector(int port, java.lang.String scheme, boolean secure, Service service, Container container)
          Construct a configured instance of this class.
 
Method Summary
 Container getContainer()
           
 int getPort()
           
 java.lang.String getScheme()
           
 boolean getSecure()
           
 Service getService()
           
 void setContainer(Container container)
           
 void setPort(int port)
           
 void setScheme(java.lang.String scheme)
           
 void setSecure(boolean secure)
           
 void setService(Service service)
           
 java.lang.String toString()
          Return a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Connector

public Connector()
Construct a default instance of this class.


Connector

public Connector(int port,
                 java.lang.String scheme,
                 boolean secure,
                 Service service,
                 Container container)
Construct a configured instance of this class.

Parameters:
port - Port number
scheme - Protocol (scheme)
secure - Secure flag
service - Associated service
container - Associated container
Method Detail

getContainer

public Container getContainer()

setContainer

public void setContainer(Container container)

getPort

public int getPort()

setPort

public void setPort(int port)

getScheme

public java.lang.String getScheme()

setScheme

public void setScheme(java.lang.String scheme)

getSecure

public boolean getSecure()

setSecure

public void setSecure(boolean secure)

getService

public Service getService()

setService

public void setService(Service service)

toString

public java.lang.String toString()
Return a String representation of this object.

Overrides:
toString in class java.lang.Object


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.