org.openmdx.compatibility.base.application.cci
Class Application

java.lang.Object
  extended by org.openmdx.compatibility.base.application.cci.Application

Deprecated. without replacement

public final class Application
extends Object

The application class


Method Summary
static Manageable_1_0 get(Class anInterface)
          Deprecated.  
static boolean isRegistered(Class anInterface)
          Deprecated.  
static void register(Manageable_1_0 object)
          Deprecated.  
static void shutdown()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static void register(Manageable_1_0 object)
Deprecated. 

Register an application object with its interfaces. The corresponding relation will be replaced if any of the interfaces is already implemented by another application object.

Parameters:
object - The application object to be registered

isRegistered

public static boolean isRegistered(Class anInterface)
Deprecated. 

Test whether an object implementing a specific interface is registered. The object's state is not affected by this query.

Returns:
true, if such an object is registered; false otherwise

get

public static Manageable_1_0 get(Class anInterface)
                          throws ServiceException
Deprecated. 

Get an application object implementing a specific interface. If the object is not yet activated, it will be activated first.

Parameters:
anInterface - get an object implementing this interface
Returns:
Return an activated application object of null if anInterface is null.
Throws:
ServiceException - EX_NOT_FOUND
ServiceException - EX_ACTIVATION_FAILURE

shutdown

public static void shutdown()
Deprecated. 

Deactivate all activated application objects in reverse activation order and discard all registrations.



This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.