it.imolinfo.jbi4corba.jbi.component.runtime
Class ComponentInstaller

java.lang.Object
  extended by it.imolinfo.jbi4corba.jbi.component.runtime.ComponentInstaller
All Implemented Interfaces:
javax.jbi.component.Bootstrap
Direct Known Subclasses:
Jbi4CorbaInstaller

public class ComponentInstaller
extends Object
implements javax.jbi.component.Bootstrap

This is a default implemenation of the Bootstrap interface. The component implemenation can extend this class and implement component specific installation such as configuration and creation of of the resources.

Author:
Prem
See Also:
javax.jbi.Bootstrap

Constructor Summary
ComponentInstaller()
          Constructor to create the ComponentInstaller.
 
Method Summary
 void cleanUp()
          default noop implementation of the cleanup.
 ObjectName getExtensionMBeanName()
          default implemenation that does not have extension mbean return null.
 void init(javax.jbi.component.InstallationContext installContext)
          Initializes the installation environment for a component.
 void onInstall()
          Default implemenation: just logs the method call.
 void onUninstall()
          Default implemenation: just logs the method call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentInstaller

public ComponentInstaller()
Constructor to create the ComponentInstaller.

Method Detail

cleanUp

public void cleanUp()
             throws javax.jbi.JBIException
default noop implementation of the cleanup.

Specified by:
cleanUp in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException
See Also:
Bootstrap.cleanUp()

init

public void init(javax.jbi.component.InstallationContext installContext)
          throws javax.jbi.JBIException
Initializes the installation environment for a component.

Specified by:
init in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException
See Also:
Bootstrap.init(javax.jbi.component.InstallationContext)

getExtensionMBeanName

public ObjectName getExtensionMBeanName()
default implemenation that does not have extension mbean return null.

Specified by:
getExtensionMBeanName in interface javax.jbi.component.Bootstrap
See Also:
Bootstrap.getExtensionMBeanName()

onInstall

public void onInstall()
               throws javax.jbi.JBIException
Default implemenation: just logs the method call.

Specified by:
onInstall in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException
See Also:
Bootstrap.onInstall()

onUninstall

public void onUninstall()
                 throws javax.jbi.JBIException
Default implemenation: just logs the method call.

Specified by:
onUninstall in interface javax.jbi.component.Bootstrap
Throws:
javax.jbi.JBIException
See Also:
Bootstrap.onUninstall()


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.