|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.ws.WebServiceFeature
com.sun.xml.ws.api.ComponentFeature
public class ComponentFeature
Allows registration of a Component
against the ComponentRegistry
implementations
of the Container
, WSEndpoint
, WSService
, or Stub
. The
registration is guaranteed to occur early in the initialization of these objects prior to tubeline creation
(applicable to endpoint and stub only).
Because the Container is shared among all Stubs created from a common WSService object, this feature must be passed during WSService initialization in order to register a Component against the client-side Container.
IllegalArgumentException will be thrown if the feature is used with an inappropriate target, e.g. stub target used during WSEndpoint initialization.
Nested Class Summary | |
---|---|
static class |
ComponentFeature.Target
Targets the object on which the Component will be registered |
Field Summary |
---|
Fields inherited from class javax.xml.ws.WebServiceFeature |
---|
enabled |
Constructor Summary | |
---|---|
ComponentFeature(Component component)
Constructs ComponentFeature with indicated component and that is targeted at the Container. |
|
ComponentFeature(Component component,
ComponentFeature.Target target)
Constructs ComponentFeature with indicated component and target |
Method Summary | |
---|---|
Component |
getComponent()
Retrieves component |
String |
getID()
|
ComponentFeature.Target |
getTarget()
Retrieves target |
Methods inherited from class javax.xml.ws.WebServiceFeature |
---|
isEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentFeature(Component component)
component
- componentpublic ComponentFeature(Component component, ComponentFeature.Target target)
component
- componenttarget
- targetMethod Detail |
---|
public String getID()
getID
in class WebServiceFeature
public Component getComponent()
public ComponentFeature.Target getTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |