|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceDescriptor
Describes the metadata for a service on an ApplicationView, including the service's name, and document descriptors for both the request and response document types for the service. The request/response document descriptors define the content and structure for the request/response documents at runtime, respectively.
Method Summary | |
---|---|
String |
getInteractionSpecClassName()
Get the name of the class that implements the javax.resource.cci.InteractionSpec interface for the adapter that will implement this service. |
IDocumentDescriptor |
getRequestDocumentDescriptor()
Get a descriptor for the request document required for this service. |
IDocumentDescriptor |
getResponseDocumentDescriptor()
Get a descriptor for the response document returned from this service. |
boolean |
isRequestNull()
Does this service not require a request document? |
boolean |
isResponseNull()
Does this service not provide a response document? |
boolean |
ownsRequestSchema()
|
boolean |
ownsResponseSchema()
|
void |
setInteractionSpecClassName(String className)
Set the name of the class that implements the javax.resource.cci.InteractionSpec interface for the adapter that will implement this service. |
void |
setOwnsRequestSchemaFlag(boolean bOwns)
Sets a flag that indicates if this service owns the request schema it references; this flag is true by default. |
void |
setOwnsResponseSchemaFlag(boolean bOwns)
Sets a flag that indicates if this service owns the response schema it references; this flag is true by default. |
void |
setRequestDocumentDescriptor(IDocumentDescriptor descriptor)
Set the descriptor for the request document required for this service. |
void |
setResponseDocumentDescriptor(IDocumentDescriptor descriptor)
Set the descriptor for the response document returned from this service. |
Methods inherited from interface com.bea.wlai.common.IPropertiedDescriptor |
---|
addProperty, getProperty, listPropertyNames, removeProperty |
Methods inherited from interface com.bea.wlai.common.IDescriptor |
---|
fromXML, fromXML, getDescription, getName, isReadOnly, makeReadOnly, setDescription, setName, toXML, toXML |
Method Detail |
---|
void setOwnsRequestSchemaFlag(boolean bOwns)
boolean ownsRequestSchema()
void setOwnsResponseSchemaFlag(boolean bOwns)
boolean ownsResponseSchema()
boolean isRequestNull()
IDocumentDescriptor getRequestDocumentDescriptor()
void setRequestDocumentDescriptor(IDocumentDescriptor descriptor)
descriptor
- An IDocumentDescriptor that describes the schema
(structure and content) for the request document, and the root
element name that all request documents for this service must
have.boolean isResponseNull()
IDocumentDescriptor getResponseDocumentDescriptor()
void setResponseDocumentDescriptor(IDocumentDescriptor descriptor)
descriptor
- An IDocumentDescriptor that describes the schema
(structure and content) for the response document, and the root
element name that all request documents for this service will
have.String getInteractionSpecClassName()
void setInteractionSpecClassName(String className)
className
- The name of the class that implements the
javax.resource.cci.InteractionSpec interface for the adapter that
will implement this service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |