|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IApplicationViewDescriptor
Represents the metadata for an ApplicationView. For example its events, services, name, namespace, etc. All implementations of this interface should be Serializable, and allow for streaming to/from XML.
| Nested Class Summary | |
|---|---|
static interface |
IApplicationViewDescriptor.IAdapterInstance
This interface defines an internal reference to an adapter instance from within an ApplicationView (acts something like an 'import'). |
static interface |
IApplicationViewDescriptor.IConnectionFactory
This interface defines an internal reference to a connection factory from within an ApplicationView (acts something like an 'import'). |
| Method Summary | |
|---|---|
IApplicationViewDescriptor.IAdapterInstance |
addAdapterInstance(String aliasName,
String name,
String id,
String adapterLogicalName,
boolean owned)
Create a new internal reference type for an adapter instance. |
IApplicationViewDescriptor.IConnectionFactory |
addConnectionFactory(String aliasName,
String name,
String adapterInstanceAliasName)
Create a new internal reference type for a connection factory. |
IEventDescriptor |
addEvent(String eventName)
Add an event to this application view. |
IServiceDescriptor |
addService(String serviceName)
Add a service to this application view. |
void |
clear()
Clear all data (except the name/namespace) for this descriptor. |
boolean |
eventExists(String name)
Indicates whether the event descriptor with the given name exists in this IApplicationViewDescriptor object. |
IApplicationViewDescriptor.IAdapterInstance |
getAdapterInstance(String aliasName)
Get an internal reference type for an adapter instance. |
Set |
getAdapterInstanceNames()
Get a unique set of adapter alias names being referenced by this ApplicationView for any purpose. |
IApplicationViewDescriptor.IConnectionFactory |
getConnectionFactory(String aliasName)
Get an internal reference type for an connection factory. |
String |
getDesignTimeAdapterInstanceName()
Get the alias name for the adapter instance that will be used for service invocation. |
String |
getDesignTimeConnectionFactoryName()
Get the alias name for the connection factory that will be used at design-time to fulfill connection requests for the design-time user interface for the purposes of browsing an EIS instance while defining an ApplicationView. |
IEventDescriptor |
getEvent(String name)
Gets the event descriptor with the given name from this IApplicationViewDescriptor object. |
String |
getEventAdapterInstanceName()
Get the alias name for the adapter instance that will be used for event delivery. |
int |
getEventCount()
Returns a count of events on this IApplicationViewDescriptor. |
IMutableVariableSet |
getMutableVariableSet()
Get a mutable variable set object that can be used to define the variables this ApplicationView will use. |
IServiceDescriptor |
getService(String name)
Gets the service descriptor with the given name from this IApplicationViewDescriptor object. |
String |
getServiceAdapterInstanceName()
Get the alias name for the adapter instance that will be used for service invocation. |
String |
getServiceConnectionFactoryName()
Get the alias name for the connection factory that will be used at runtime to fulfill connection requests for ApplicationViews based off this IApplicationViewDescriptor. |
int |
getServiceCount()
Returns a count of services on this IApplicationViewDescriptor. |
IVariableSet |
getVariableSet()
Get a read-only variable set object describing the variables that have been defined for this ApplicationView. |
String |
getVersion()
Get the version number for this descriptor. |
boolean |
hasEvents()
Indicates whether this IApplicationViewDescriptor has any events within it. |
boolean |
hasServices()
Indicates whether this IApplicationViewDescriptor has any services within it. |
boolean |
isContainerManagedSignOnEnabled()
Determine if container-managed sign-on is enabled. |
Iterator |
listAdapterInstanceAliasNames()
List the alias names of the internal references to adapter instances. |
Iterator |
listConnectionFactoryAliasNames()
List the alias names of the internal references to aconnection factories. |
Iterator |
listEventNames()
List the names of all events in this IApplicationViewDescriptor. |
Iterator |
listEvents()
List all events in this IApplicationViewDescriptor. |
Iterator |
listServiceNames()
List the names of all service descriptors in this IApplicationViewDescriptor. |
Iterator |
listServices()
List all service descriptors in this IApplicationViewDescriptor. |
IApplicationViewDescriptor.IAdapterInstance |
removeAdapterInstance(String aliasName)
Remove an internal reference type for an adapter instance. |
IApplicationViewDescriptor.IConnectionFactory |
removeConnectionFactory(String aliasName)
Remove an internal reference type for an connection factory. |
IEventDescriptor |
removeEvent(String name)
Removes the event descriptor with the given name from this IApplicationViewDescriptor object. |
IServiceDescriptor |
removeService(String name)
Removes the service with the given name from this IApplicationViewDescriptor object. |
boolean |
serviceExists(String name)
Indicates whether the service with the given name exists in this IApplicationViewDescriptor object. |
void |
setContainerManagedSignOnEnabled(boolean enable)
Enable or disable container-managed sign-on. |
void |
setDesignTimeConnectionFactoryName(String factoryName)
Set the alias name for the connection factory that will be used at design-time to fulfill connection requests for the design-time user interface for the purposes of browsing an EIS instance while defining an ApplicationView. |
void |
setEventAdapterInstanceName(String adapterName)
Set the alias name of the adapter instance that will be used for event delivery. |
void |
setServiceConnectionFactoryName(String factoryName)
Set the alias name for the connection factory that will be used at runtime to fulfill connection requests for ApplicationViews based off this IApplicationViewDescriptor. |
| Methods inherited from interface com.bea.wlai.common.INamespaceObject |
|---|
equals, getDescription, getLastUpdateTime, getName, getParentNamespace, getQualifiedName, setDescription, setName, setParentNamespace, syncLastUpdateTime, touch |
| Methods inherited from interface com.bea.wlai.common.IDescriptor |
|---|
fromXML, fromXML, getDescription, getName, isReadOnly, makeReadOnly, setDescription, setName, toXML, toXML |
| Method Detail |
|---|
String getVersion()
void clear()
boolean hasEvents()
int getEventCount()
IEventDescriptor addEvent(String eventName)
throws IllegalArgumentException,
DuplicateNameException
eventName - The name of the event to be added. Null is not allowed,
and this event's name cannot match any event already in this
IApplicationViewDescriptor instance.
IllegalArgumentException - If the event param is null.
DuplicateNameException - If the event has the same name as an event
that already exists in this IApplicationViewDescriptor object.IEventDescriptor removeEvent(String name)
name - The name of the event descriptor to remove.
boolean eventExists(String name)
name - The name of the event descriptor to look for.
IEventDescriptor getEvent(String name)
name - The name of the event descriptor to get.
Iterator listEvents()
Iterator listEventNames()
boolean hasServices()
int getServiceCount()
IServiceDescriptor addService(String serviceName)
throws IllegalArgumentException,
DuplicateNameException
serviceName - The name of the service to add. Null is not allowed,
and this service's name cannot match any service already in this
IApplicationViewDescriptor instance.
IllegalArgumentException - If the service param is null.
DuplicateNameException - If the service has the same name as a
service that already exists in this IApplicationViewDescriptor
object.IServiceDescriptor removeService(String name)
name - The name of the service descriptor to remove.
boolean serviceExists(String name)
name - The name of the service descriptor to look for.
IServiceDescriptor getService(String name)
name - The name of the service descriptor to get.
Iterator listServices()
Iterator listServiceNames()
String getEventAdapterInstanceName()
void setEventAdapterInstanceName(String adapterName)
String getServiceAdapterInstanceName()
String getServiceConnectionFactoryName()
void setServiceConnectionFactoryName(String factoryName)
factoryName - The alias name of the ConnectionFactory to use.String getDesignTimeAdapterInstanceName()
String getDesignTimeConnectionFactoryName()
void setDesignTimeConnectionFactoryName(String factoryName)
factoryName - The alias name of the ConnectionFactory to use.Set getAdapterInstanceNames()
IApplicationViewDescriptor.IAdapterInstance addAdapterInstance(String aliasName,
String name,
String id,
String adapterLogicalName,
boolean owned)
throws DuplicateNameException
DuplicateNameExceptionIApplicationViewDescriptor.IAdapterInstance getAdapterInstance(String aliasName)
IApplicationViewDescriptor.IAdapterInstance removeAdapterInstance(String aliasName)
Iterator listAdapterInstanceAliasNames()
IApplicationViewDescriptor.IConnectionFactory addConnectionFactory(String aliasName,
String name,
String adapterInstanceAliasName)
throws DuplicateNameException,
LookupException
DuplicateNameException
LookupExceptionIApplicationViewDescriptor.IConnectionFactory getConnectionFactory(String aliasName)
IApplicationViewDescriptor.IConnectionFactory removeConnectionFactory(String aliasName)
Iterator listConnectionFactoryAliasNames()
IMutableVariableSet getMutableVariableSet()
IVariableSet getVariableSet()
void setContainerManagedSignOnEnabled(boolean enable)
boolean isContainerManagedSignOnEnabled()
setContainerManagedSignOnEnabled(boolean)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||