oracle.panama.model
Interface Adapter

All Superinterfaces:
ModelObject, XMLObject

public interface Adapter
extends ModelObject

The Adapter is the container for the RuntimeAdapter.

See Also:
oracle.panama.rt.RuntimeAdapter

Field Summary
TypeField
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier
 
Method Summary
TypeMethod
 java.io.InputStream getClassesInputStream()
          Get the classes as an InputStream.
 java.lang.String getClassName()
           
 RuntimeAdapter getRuntimeAdapter()
           
 boolean isValid()
           
 void setValid(boolean valid)
          Allow the administrator to set an Adapter to valid or invalid
 
Methods inherited from interface oracle.panama.model.ModelObject
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId, getTypeName, isSystem, setName, setSystem, undoAll
 
Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML
 

Field Detail

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier

TYPEID

public static final int TYPEID
The type id of this class.
Method Detail

getClassName

public java.lang.String getClassName()
Returns:
String the Java Class name for the RuntimeAdapter.

getClassesInputStream

public java.io.InputStream getClassesInputStream()
Get the classes as an InputStream.
Returns:
the InputStream in the format of a "Jar" or "Zip" file or null if there's no archive. It's up to the caller to close the stream.

isValid

public boolean isValid()
Returns:
true if the Service which use this Adapter should be a valid service

setValid

public void setValid(boolean valid)
Allow the administrator to set an Adapter to valid or invalid
Parameters:
valid - true if the Adapter is valid

getRuntimeAdapter

public RuntimeAdapter getRuntimeAdapter()
                                 throws PanamaRuntimeException
Returns:
RuntimeAdapter the run-time Adapter