Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface Adapter

All Superinterfaces:
ModelObject, XMLObject

public interface Adapter
extends ModelObject

The Adapter is the container for the RuntimeAdapter.

See Also:
RuntimeAdapter

Field Summary
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier

 

Method Summary
 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

TYPEID

public static final int TYPEID
The type id of this class.
See Also:
Constant Field Values

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier
See Also:
Constant Field Values

Method Detail

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.

getClassName

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

getRuntimeAdapter

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

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

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.