|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface allows interaction with the SOA Assembly Framework. It
is implemented by a singleton class that can be accessed by the
INSTANCE
element. This interface is not intended to be implemented by client tools.
Field Summary | |
static ISAFManager |
INSTANCE
Use this interface to access the ISAFManager singleton
implementation. |
static boolean |
REFERENCE
Flag representing a reference set. |
static boolean |
SERVICE
Flag representing an interface set. |
Method Summary | |
IComponentHandler[] |
getAllComponentHandlers(Context context)
Returns an array of IComponentHandler for all supported component
kinds. |
IEntryPointHandler[] |
getAllEntryPointHandlers(Context context)
Returns an array of IEntryPointHandler for all supported entry
point kinds. |
IExternalServiceHandler[] |
getAllExternalServiceHandlers(Context context)
Returns an array of IExternalServiceHandler for all supported
external service kinds. |
IInterfaceHandler[] |
getAllInterfaceHandlers()
Returns an array of IInterfaceHandler for all available interface
kinds. |
IComponentHandler[] |
getComponentHandlersFor(Context context,
java.lang.Object implementationObj)
This method calls the canCreateComponentFor()
method of all component handlers, passing the implementation model
object. |
java.lang.String |
getDefaultComponentKind()
Returns the QName string for the default component implementation-neutral type. |
IEntryPointHandler[] |
getEntryPointHandlersFor(Context context,
java.lang.Object service)
This method calls the IEntryPointHandler.canCreateEntryPointFor(Object) method of all
external service handlers, passing the service model object. |
IExternalServiceHandler[] |
getExternalServiceHandlersFor(Context context,
java.lang.Object service)
This method calls the IExternalServiceHandler.canCreateExternalServiceFor(Object)
method of all external service handlers, passing the service model
object. |
IComponentHandler |
getHandlerFor(org.eclipse.stp.core.sca.Component theComponent)
Returns the IComponentHandler for the kind of the specified
component or returns null if the component has no kind. |
IInterfaceHandler |
getHandlerFor(org.eclipse.stp.core.sca.Interface theInterface)
Returns the IInterfaceHandler for the kind of the specified
interface or returns null if the interface has no kind. |
IEntryPointHandler[] |
getHandlersFor(org.eclipse.stp.core.sca.EntryPoint theEntryPoint)
Returns a IEntryPointHandler for the entry point kind of the
specified entry point or returns null if the entry point has no binding. |
IExternalServiceHandler[] |
getHandlersFor(org.eclipse.stp.core.sca.ExternalService theExternalService)
Returns a IExternalServiceHandler for the external service kind
of the specified external service or returns null if the external service has no
binding. |
IInterfaceHandler[] |
getInterfaceHandlersFor(java.lang.Object interfaceObj)
This method calls the IInterfaceHandler.canCreateInterfaceFor(Object) method of all
interface handlers, passing the object. |
Field Detail |
public static final ISAFManager INSTANCE
ISAFManager
singleton
implementation.
public static final boolean SERVICE
isInterfaceKindSupportedForComponent()
.
public static final boolean REFERENCE
isInterfaceKindSupportedForComponent()
.
Method Detail |
public IComponentHandler[] getAllComponentHandlers(Context context)
IComponentHandler
for all supported component
kinds.
context
- the object that can be used to
filter the resulting set of component handlers
to show only the ones that are valid for the given context
public IExternalServiceHandler[] getAllExternalServiceHandlers(Context context)
IExternalServiceHandler
for all supported
external service kinds.
context
- the object that can be used to
filter the resulting set of external service handlers
to show only the ones that are valid for the given context
public IEntryPointHandler[] getAllEntryPointHandlers(Context context)
IEntryPointHandler
for all supported entry
point kinds.
context
- the object that can be used to
filter the resulting set of entry point handlers to show
only the ones that are valid for the given context
public IInterfaceHandler[] getAllInterfaceHandlers()
IInterfaceHandler
for all available interface
kinds.
public IComponentHandler[] getComponentHandlersFor(Context context, java.lang.Object implementationObj)
canCreateComponentFor()
method of all component handlers, passing the implementation model
object. Each of the handlers that returns true
is returned
in the resulting array. Each handler in the array represents
a kind of component that can be created for the specified implementation
model object. An empty array is returned if no matching handler
is found.
implementationObj
- an object that could provide the implementation for a
componentcontext
- the object that can be used to
filter the resulting set of kind component handlers to show
only the ones that are valid for the given context
public java.lang.String getDefaultComponentKind()
public IComponentHandler getHandlerFor(org.eclipse.stp.core.sca.Component theComponent)
IComponentHandler
for the kind of the specified
component or returns null
if the component has no kind. The handler provides
information about the component kind that could be presented to an end
user. If no component handler supports the component kind,
null
is returned.
theComponent
- the component whose handler is returned
public IInterfaceHandler getHandlerFor(org.eclipse.stp.core.sca.Interface theInterface)
IInterfaceHandler
for the kind of the specified
interface or returns null
if the interface has no kind. The handler provides
information about the interface kind that could be presented to an end
user. If no interface handler supports the interface kind,
null
is returned.
theInterface
- the interface whose handler is returned
public IExternalServiceHandler[] getExternalServiceHandlersFor(Context context, java.lang.Object service)
IExternalServiceHandler.canCreateExternalServiceFor(Object)
method of all external service handlers, passing the service model
object. Each of the handlers that returns true
is returned
in the resulting array. Each handler in the array
represents a kind of external service binding that can be created for the
specified service model object. Each handler provides information about
the external service kind that could be presented to an end user.
An empty array is returned if no matching handler is found.
context
- the object that can be used to
filter the resulting set of handlers, depending on which ones
are valid for the given contextservice
- the object representing a service to be imported
public IExternalServiceHandler[] getHandlersFor(org.eclipse.stp.core.sca.ExternalService theExternalService)
IExternalServiceHandler
for the external service kind
of the specified external service or returns null
if the external service has no
binding. The handler provides information about the binding kind that
could be presented to an end user. If no external service handler
supports the external service kind, null
is returned.
theExternalService
- the external service whose handler is returned
public IEntryPointHandler[] getEntryPointHandlersFor(Context context, java.lang.Object service)
IEntryPointHandler.canCreateEntryPointFor(Object)
method of all
external service handlers, passing the service model object. Each of the
handlers that returns true
is returned in the resulting
array. Each handler in the array represents
a kind of entry point binding that can be created for the specified
service model object. Each handler provides information about the entry
point kind that could be presented to an end user.
An empty array is returned if no matching handler is found.
context
- the object that can be used to
filter the resulting set of handlers, depending on which ones
are valid for the given contextservice
- the object representing a service to be exposed
public IEntryPointHandler[] getHandlersFor(org.eclipse.stp.core.sca.EntryPoint theEntryPoint)
IEntryPointHandler
for the entry point kind of the
specified entry point or returns null
if the entry point has no binding. The
handler provides information about the binding kind that could be
presented to an end user. If no entry point handler supports the entry
point kind, null
is returned.
theEntryPoint
- the entry point whose handler is returned
public IInterfaceHandler[] getInterfaceHandlersFor(java.lang.Object interfaceObj)
IInterfaceHandler.canCreateInterfaceFor(Object)
method of all
interface handlers, passing the object. Each of the handlers that returns
true
is returned in the resulting array.
Each handler in the array represents
a kind of interface that can be created for the specified model object.
Each handler provides information about the interface kind that could be
presented to an end user. An empty array is
returned if no matching handler is found.
interfaceObj
- the object representing the interface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |