public class ComponentsFeature extends WebServiceFeature implements ServiceSharedFeatureMarker
Component
s 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.
enabled
Constructor and Description |
---|
ComponentsFeature(List<ComponentFeature> componentFeatures)
Constructs ComponentFeature with indicated component and target
|
Modifier and Type | Method and Description |
---|---|
List<ComponentFeature> |
getComponentFeatures()
Retrieves component
|
String |
getID() |
isEnabled
public ComponentsFeature(List<ComponentFeature> componentFeatures)
component
- componenttarget
- targetpublic String getID()
getID
in class WebServiceFeature
public List<ComponentFeature> getComponentFeatures()
Copyright © 2015 Oracle Corporation. All rights reserved.