All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.visigenic.vbroker.Activation.OAD

public interface OAD
extends Object

IDL definition:
interface OAD {
::extension::CreationImplDef create_CreationImplDef();
Object reg_implementation(
in ::extension::CreationImplDef impl
)
raises(
::Activation::DuplicateEntry,
::Activation::InvalidPath
);
::extension::CreationImplDef get_implementation(
in ::CORBA::RepositoryId repId,
in string object_name
)
raises(
::Activation::NotRegistered
);
void change_implementation(
in ::extension::CreationImplDef old_info,
in ::extension::CreationImplDef new_info
)
raises(
::Activation::NotRegistered,
::Activation::InvalidPath,
::Activation::IsActive
);
attribute boolean destroy_on_unregister;
void unreg_implementation(
in ::CORBA::RepositoryId repId,
in string object_name
)
raises(
::Activation::NotRegistered
);
void unreg_interface(
in ::CORBA::RepositoryId repId
)
raises(
::Activation::NotRegistered
);
void unregister_all();
::Activation::ImplementationStatus get_status(
in ::CORBA::RepositoryId repId,
in string object_name
)
raises(
::Activation::NotRegistered
);
::Activation::ImplStatusList get_status_interface(
in ::CORBA::RepositoryId repId
)
raises(
::Activation::NotRegistered
);
::Activation::ImplStatusList get_status_all();
Object lookup_interface(
in ::CORBA::RepositoryId repId,
in long timeout
)
raises(
::Activation::NotRegistered,
::Activation::FailedToExecute,
::Activation::NotResponding,
::Activation::Busy
);
Object lookup_implementation(
in ::CORBA::RepositoryId repId,
in string object_name,
in long timeout
)
raises(
::Activation::NotRegistered,
::Activation::FailedToExecute,
::Activation::NotResponding,
::Activation::Busy
);
::extension::CreationImplDef boa_activate_obj(
in Object obj,
in string repository_id,
in long unique_id
)
raises(
::Activation::NotRegistered
);
void boa_deactivate_obj(
in Object obj,
in string repository_id,
in long unique_id
)
raises(
::Activation::NotRegistered
);
};


Method Index

 o boa_activate_obj(Object, String, int)
Invoked implicitly when the spawned process calls BOA::obj_is_ready.
 o boa_deactivate_obj(Object, String, int)
Invoked implicitly when the spawned process deactivates an object (on which obj_is_ready was previously called) 'unique_id' will be the same as when boa_activate_obj was invoked

Operation: ::Activation::OAD::boa_deactivate_obj.

 o change_implementation(CreationImplDef, CreationImplDef)
Changes the registration information It is an error (IsActive) to change the registration information for a currently Active implementation)

Operation: ::Activation::OAD::change_implementation.

 o create_CreationImplDef()

Operation: ::Activation::OAD::create_CreationImplDef.

 o destroy_on_unregister()

Reader for attribute: ::Activation::OAD::destroy_on_unregister.

 o destroy_on_unregister(boolean)

Writer for attribute: ::Activation::OAD::destroy_on_unregister.

 o get_implementation(String, String)
Retrieves the registration information for the specified implementation

Operation: ::Activation::OAD::get_implementation.

 o get_status(String, String)
Get status information for the given implementation

Operation: ::Activation::OAD::get_status.

 o get_status_all()

Operation: ::Activation::OAD::get_status_all.

 o get_status_interface(String)
Get status information for all implementations of the given repositoryId

Operation: ::Activation::OAD::get_status_interface.

 o lookup_implementation(String, String, int)
This function looks up a more specific implementation than the previous function

Operation: ::Activation::OAD::lookup_implementation.

 o lookup_interface(String, int)
Returns the Object reference for an implementation of the given RepositoryId.
 o reg_implementation(CreationImplDef)
Registers an implementation with the OAD and the VisiBroker directory service.
 o unreg_implementation(String, String)
Unregisters implementations by repository identifier and object name.
 o unreg_interface(String)
Unregister all implementations having the given repository id If 'destroy_on_unregister' is true, this method will cause the destruction of all processes currently implementing the specified repId

Operation: ::Activation::OAD::unreg_interface.

 o unregister_all()

Operation: ::Activation::OAD::unregister_all.

Methods

 o create_CreationImplDef
 public abstract CreationImplDef create_CreationImplDef()

Operation: ::Activation::OAD::create_CreationImplDef.

::extension::CreationImplDef create_CreationImplDef();

 o reg_implementation
 public abstract Object reg_implementation(CreationImplDef impl) throws DuplicateEntry, InvalidPath
Registers an implementation with the OAD and the VisiBroker directory service.

Operation: ::Activation::OAD::reg_implementation.

Object reg_implementation(
in ::extension::CreationImplDef impl
)
raises(
::Activation::DuplicateEntry,
::Activation::InvalidPath
);

Throws: DuplicateEntry
if duplicate entry
Throws: InvalidPath
if java class not found
 o get_implementation
 public abstract CreationImplDef get_implementation(String repId,
                                                    String object_name) throws NotRegistered
Retrieves the registration information for the specified implementation

Operation: ::Activation::OAD::get_implementation.

::extension::CreationImplDef get_implementation(
in ::CORBA::RepositoryId repId,
in string object_name
)
raises(
::Activation::NotRegistered
);

Throws: NotRegistered
if specified object is not registered.
 o change_implementation
 public abstract void change_implementation(CreationImplDef old_info,
                                            CreationImplDef new_info) throws NotRegistered, InvalidPath, IsActive
Changes the registration information It is an error (IsActive) to change the registration information for a currently Active implementation)

Operation: ::Activation::OAD::change_implementation.

void change_implementation(
in ::extension::CreationImplDef old_info,
in ::extension::CreationImplDef new_info
)
raises(
::Activation::NotRegistered,
::Activation::InvalidPath,
::Activation::IsActive
);

Throws: NotRegistered
if specified object is not registered.
Throws: InvalidPath
if java class not found
Throws: IsActive
if object implementation is currently running.
 o destroy_on_unregister
 public abstract void destroy_on_unregister(boolean destroy_on_unregister)

Writer for attribute: ::Activation::OAD::destroy_on_unregister.

attribute boolean destroy_on_unregister;

 o destroy_on_unregister
 public abstract boolean destroy_on_unregister()

Reader for attribute: ::Activation::OAD::destroy_on_unregister.

attribute boolean destroy_on_unregister;

 o unreg_implementation
 public abstract void unreg_implementation(String repId,
                                           String object_name) throws NotRegistered
Unregisters implementations by repository identifier and object name.

Operation: ::Activation::OAD::unreg_implementation.

void unreg_implementation(
in ::CORBA::RepositoryId repId,
in string object_name
)
raises(
::Activation::NotRegistered
);

Throws: NotRegistered
if specified object is not registered.
 o unreg_interface
 public abstract void unreg_interface(String repId) throws NotRegistered
Unregister all implementations having the given repository id If 'destroy_on_unregister' is true, this method will cause the destruction of all processes currently implementing the specified repId

Operation: ::Activation::OAD::unreg_interface.

void unreg_interface(
in ::CORBA::RepositoryId repId
)
raises(
::Activation::NotRegistered
);

Throws: NotRegistered
if specified object is not registered.
 o unregister_all
 public abstract void unregister_all()

Operation: ::Activation::OAD::unregister_all.

void unregister_all();

 o get_status
 public abstract ImplementationStatus get_status(String repId,
                                                 String object_name) throws NotRegistered
Get status information for the given implementation

Operation: ::Activation::OAD::get_status.

::Activation::ImplementationStatus get_status(
in ::CORBA::RepositoryId repId,
in string object_name
)
raises(
::Activation::NotRegistered
);

Throws: NotRegistered
if specified object is not registered.
 o get_status_interface
 public abstract ImplementationStatus[] get_status_interface(String repId) throws NotRegistered
Get status information for all implementations of the given repositoryId

Operation: ::Activation::OAD::get_status_interface.

::Activation::ImplStatusList get_status_interface(
in ::CORBA::RepositoryId repId
)
raises(
::Activation::NotRegistered
);

Throws: NotRegistered
if specified object is not registered.
 o get_status_all
 public abstract ImplementationStatus[] get_status_all()

Operation: ::Activation::OAD::get_status_all.

::Activation::ImplStatusList get_status_all();

 o lookup_interface
 public abstract Object lookup_interface(String repId,
                                         int timeout) throws NotRegistered, FailedToExecute, NotResponding, Busy
Returns the Object reference for an implementation of the given RepositoryId. A new process may be spawned in response to the request. 'timeout' specifies how long to wait for a spawned process to activate an implementation of the requested repId. A value of -1 indicates that the OAD should use its default timeout

Operation: ::Activation::OAD::lookup_interface.

Object lookup_interface(
in ::CORBA::RepositoryId repId,
in long timeout
)
raises(
::Activation::NotRegistered,
::Activation::FailedToExecute,
::Activation::NotResponding,
::Activation::Busy
);

Throws: NotRegistered
if specified object is not registered.
Throws: FailedToExecute
if error occurs during execution.
Throws: NotResponding
if no response.
Throws: Busy
if busy.
 o lookup_implementation
 public abstract Object lookup_implementation(String repId,
                                              String object_name,
                                              int timeout) throws NotRegistered, FailedToExecute, NotResponding, Busy
This function looks up a more specific implementation than the previous function

Operation: ::Activation::OAD::lookup_implementation.

Object lookup_implementation(
in ::CORBA::RepositoryId repId,
in string object_name,
in long timeout
)
raises(
::Activation::NotRegistered,
::Activation::FailedToExecute,
::Activation::NotResponding,
::Activation::Busy
);

Throws: NotRegistered
if specified object is not registered.
Throws: FailedToExecute
if error occurs during execution.
Throws: NotResponding
if no response.
Throws: Busy
if busy.
 o boa_activate_obj
 public abstract CreationImplDef boa_activate_obj(Object obj,
                                                  String repository_id,
                                                  int unique_id) throws NotRegistered
Invoked implicitly when the spawned process calls BOA::obj_is_ready. This method does not need to be invoked directly by the client. 'unique_id' will be 0 if the application is started manually

Operation: ::Activation::OAD::boa_activate_obj.

::extension::CreationImplDef boa_activate_obj(
in Object obj,
in string repository_id,
in long unique_id
)
raises(
::Activation::NotRegistered
);

Throws: NotRegistered
if specified object is not registered.
 o boa_deactivate_obj
 public abstract void boa_deactivate_obj(Object obj,
                                         String repository_id,
                                         int unique_id) throws NotRegistered
Invoked implicitly when the spawned process deactivates an object (on which obj_is_ready was previously called) 'unique_id' will be the same as when boa_activate_obj was invoked

Operation: ::Activation::OAD::boa_deactivate_obj.

void boa_deactivate_obj(
in Object obj,
in string repository_id,
in long unique_id
)
raises(
::Activation::NotRegistered
);

Throws: NotRegistered
if specified object is not registered.

All Packages  Class Hierarchy  This Package  Previous  Next  Index