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
Type | Field |
static int |
TYPEID
The type id of this class. |
static java.lang.String |
TYPENAME
The constant class type identifier |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId,
getTypeName, isSystem, setName,
setSystem, undoAll |
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.
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