|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
com.bea.connector.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. |
com.bea.connector.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, fromXML, getDescription, getName, isReadOnly, makeReadOnly, setDescription, setName, toXML, toXML, toXML |
Method Detail |
public String getVersion()
public void clear()
public boolean hasEvents()
public int getEventCount()
public IEventDescriptor addEvent(String eventName) throws IllegalArgumentException, com.bea.wlai.common.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.public IEventDescriptor removeEvent(String name)
name
- The name of the event descriptor to remove.
public boolean eventExists(String name)
name
- The name of the event descriptor to look for.
public IEventDescriptor getEvent(String name)
name
- The name of the event descriptor to get.
public Iterator listEvents()
public Iterator listEventNames()
public boolean hasServices()
public int getServiceCount()
public IServiceDescriptor addService(String serviceName) throws IllegalArgumentException, com.bea.wlai.common.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.public IServiceDescriptor removeService(String name)
name
- The name of the service descriptor to remove.
public boolean serviceExists(String name)
name
- The name of the service descriptor to look for.
public IServiceDescriptor getService(String name)
name
- The name of the service descriptor to get.
public Iterator listServices()
public Iterator listServiceNames()
public String getEventAdapterInstanceName()
public void setEventAdapterInstanceName(String adapterName)
public String getServiceAdapterInstanceName()
public String getServiceConnectionFactoryName()
public void setServiceConnectionFactoryName(String factoryName)
factoryName
- The alias name of the ConnectionFactory to use.public String getDesignTimeAdapterInstanceName()
public String getDesignTimeConnectionFactoryName()
public void setDesignTimeConnectionFactoryName(String factoryName)
factoryName
- The alias name of the ConnectionFactory to use.public Set getAdapterInstanceNames()
public IApplicationViewDescriptor.IAdapterInstance addAdapterInstance(String aliasName, String name, String id, String adapterLogicalName, boolean owned) throws com.bea.wlai.common.DuplicateNameException
com.bea.wlai.common.DuplicateNameException
public IApplicationViewDescriptor.IAdapterInstance getAdapterInstance(String aliasName)
public IApplicationViewDescriptor.IAdapterInstance removeAdapterInstance(String aliasName)
public Iterator listAdapterInstanceAliasNames()
public IApplicationViewDescriptor.IConnectionFactory addConnectionFactory(String aliasName, String name, String adapterInstanceAliasName) throws com.bea.wlai.common.DuplicateNameException, com.bea.wlai.common.LookupException
com.bea.wlai.common.DuplicateNameException
com.bea.wlai.common.LookupException
public IApplicationViewDescriptor.IConnectionFactory getConnectionFactory(String aliasName)
public IApplicationViewDescriptor.IConnectionFactory removeConnectionFactory(String aliasName)
public Iterator listConnectionFactoryAliasNames()
public com.bea.connector.IMutableVariableSet getMutableVariableSet()
public com.bea.connector.IVariableSet getVariableSet()
public void setContainerManagedSignOnEnabled(boolean enable)
public boolean isContainerManagedSignOnEnabled()
setContainerManagedSignOnEnabled(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |