|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlai.common.AbstractDescriptor | +--com.bea.wlai.common.AbstractPropertiedDescriptor | +--com.bea.wlai.common.ServiceDescriptor
An implementation of the IServiceDescriptor interface for use by the WLAI server.
Constructor Summary | |
ServiceDescriptor(java.lang.String name,
java.lang.String description,
java.lang.String interactionSpecClassName,
java.lang.String requestDocumentType,
java.lang.String responseDocumentType)
Construct a new ServiceDescriptor with the given name, description, interaction spec class name, and request/response document descriptors. |
Method Summary | |
static IDocumentDescriptor |
createDocumentDescriptorFromDocumentType(java.lang.String documentType)
Create a document descriptor from a document type specification in |
void |
fromXML(IDocument doc)
Extract the data for this descriptor from the given IDocument instance, replacing all contents of the current descriptor with the new data. |
java.lang.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(java.lang.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. |
java.lang.String |
toXML()
Get an XML representation of this descriptor. |
void |
toXML(IDocument doc)
Output an XML representation of this descriptor into an IDocument instance. |
void |
toXML(java.io.Writer writer)
Write an XML representation of this descriptor to the given Writer. |
Methods inherited from class com.bea.wlai.common.AbstractPropertiedDescriptor |
addProperty,
getProperty,
listPropertyNames,
removeProperty |
Methods inherited from class com.bea.wlai.common.AbstractDescriptor |
fromXML,
fromXML,
getDescription,
getName,
isReadOnly,
makeReadOnly,
setDescription,
setName |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ServiceDescriptor(java.lang.String name, java.lang.String description, java.lang.String interactionSpecClassName, java.lang.String requestDocumentType, java.lang.String responseDocumentType) throws java.lang.IllegalArgumentException
Method Detail |
public static IDocumentDescriptor createDocumentDescriptorFromDocumentType(java.lang.String documentType)
public void setOwnsRequestSchemaFlag(boolean bOwns)
public boolean ownsRequestSchema()
public void setOwnsResponseSchemaFlag(boolean bOwns)
public boolean ownsResponseSchema()
public boolean isRequestNull()
public IDocumentDescriptor getRequestDocumentDescriptor()
public 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.public boolean isResponseNull()
public IDocumentDescriptor getResponseDocumentDescriptor()
public 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.public java.lang.String getInteractionSpecClassName()
public void setInteractionSpecClassName(java.lang.String className)
className
- The name of the class that implements the
javax.resource.cci.InteractionSpec interface for the adapter that
will implement this service.public java.lang.String toXML() throws DocumentException
public void toXML(java.io.Writer writer) throws DocumentException, java.io.IOException
A
- Writer object representing the destination for an XML stream
containing the data for this descriptor.public void toXML(IDocument doc) throws DocumentException
doc
- An IDocument instance to receive the data for this descriptor.public void fromXML(IDocument doc) throws DocumentException
doc
- An IDocument instance from which the data for this descriptor
will be extracted.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |