Protocol Adapters
Identifier:
org.eclipse.wst.internet.monitor.core.internalProtocolAdapters
Since:
This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Description:
This extension point is used to provide an adapter for a new protocol (e.g. HTTP). This allows different types of protocols to be monitored in a specific way.
Configuration Markup:
<!ELEMENT extension (protocolAdapter+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT protocolAdapter EMPTY>
<!ATTLIST protocolAdapter
id CDATA #REQUIRED
class CDATA #REQUIRED
name CDATA #REQUIRED>
- id - specifies a unique identifier for this extension point
- class - specifies the fully qualified name of the Java class that extends org.eclipse.wst.internet.monitor.core.internal.ProtocolAdapterDelegate
Protocol adapter instances of this type will delegate to instances of this class.
- name - a translatable name used to identify the protocol adapter
Examples:
The following is an example of a protocol adapter extension point to define a protocol adapter for TCP/IP:
<extension
point=
"org.eclipse.wst.internet.monitor.core.protocolAdapters"
>
<protocolAdapter
id=
"TCPIP"
class=
"com.example.TCPIPProtocolAdapter"
name=
"%TCPIP"
/>
</extension>
API Information:
Value of the attribute class must be a fully qualified name of a Java class that extends the abstract class org.eclipse.wst.internet.monitor.core.internal.ProtocolAdapterDelegate
.
Copyright (c) 2003, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html