|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.method.WTAdapter
The Windchill Info*Engine adapter listener.
This class contains the main method executed when starting a Windchill Adapter.
Supported API: true
Extendable: false
Nested Class Summary | |
private class |
WTAdapter.ListeningThread
Define a Thread subclass that the adapter will use in listening for requests from remote Info*Engine servers. |
Field Summary | |
static boolean |
ADAPTER_INITIALIZED
|
private boolean |
AUTO_REGISTRATION_ENABLED
|
private int |
CLIENT_TIMEOUT
|
private int |
CONCURRENT_METHOD_SERVERS
|
private static int |
DEFAULT_PORT
|
private String |
DEFAULT_USER
|
private int |
GC_INTERVAL
|
private String |
IEADAPTER
|
private int |
LISTEN_PORT
|
protected ServerSocket |
listen_socket
|
private String |
LOAD_OBJECTS
|
private boolean |
LOG_APPEND
|
private boolean |
LOG_ENABLED
|
private String |
LOG_FILE
|
private boolean |
LOG_TEE
|
private int |
MAX_PORT
|
private int |
MAX_SOCKETS
|
private int |
MIN_PORT
|
private String |
SERVICE_NAME
|
private boolean |
SERVICES_ENABLED
|
private String |
SERVICES_HANDLER
|
private ServicesHandlerIfc |
servicesHandler
|
private String |
TIME_ZONE
|
private boolean |
VERBOSE_CLIENT
|
private boolean |
VERBOSE_SERVER
|
private boolean |
VERBOSE_SOCKET
|
private boolean |
VERBOSE_SOCKET_IO
|
private static String |
versionID
|
private static int |
wtAdapterPort
|
Constructor Summary | |
WTAdapter()
Constructs a new Windchill Adapter instance that runs within the JVM of another process such as a conventional Windchill MethodServer. |
|
WTAdapter(WTProperties properties)
Deprecated. |
Method Summary | |
private void |
autoRegister(String vmName,
ObjectDestination[] serviceAddresses)
Attempt to create and register as many new service addresses as are needed to accommodate the number of MethodServers that are configured to run concurrently. |
void |
destroy()
Supported API: false |
static int |
getWtAdapterPort()
|
private void |
initialize()
|
void |
run()
The body of the server thread. |
void |
start()
Supported API: false |
void |
stop()
Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String versionID
private static final int DEFAULT_PORT
private final String IEADAPTER
private ServicesHandlerIfc servicesHandler
protected ServerSocket listen_socket
public static boolean ADAPTER_INITIALIZED
private boolean AUTO_REGISTRATION_ENABLED
private int CONCURRENT_METHOD_SERVERS
private int CLIENT_TIMEOUT
private String DEFAULT_USER
private int GC_INTERVAL
private int LISTEN_PORT
private String LOAD_OBJECTS
private boolean LOG_APPEND
private boolean LOG_ENABLED
private String LOG_FILE
private boolean LOG_TEE
private int MAX_PORT
private int MAX_SOCKETS
private int MIN_PORT
private String SERVICE_NAME
private boolean SERVICES_ENABLED
private String SERVICES_HANDLER
private String TIME_ZONE
private boolean VERBOSE_CLIENT
private boolean VERBOSE_SERVER
private boolean VERBOSE_SOCKET
private boolean VERBOSE_SOCKET_IO
private static int wtAdapterPort
Constructor Detail |
public WTAdapter()
public WTAdapter(WTProperties properties)
Method Detail |
public static int getWtAdapterPort()
public void start()
start
in interface AppletListener
public void destroy()
destroy
in interface AppletListener
public void stop()
stop
in interface AppletListener
private void initialize() throws WTException
WTException
public void run()
run
in interface Runnable
private void autoRegister(String vmName, ObjectDestination[] serviceAddresses)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |