nl.gx.webmanager.wcb.foundation
Class ComponentDependencyImpl

java.lang.Object
  extended by nl.gx.webmanager.wcb.foundation.ComponentDependencyImpl
All Implemented Interfaces:
ComponentDependency

public class ComponentDependencyImpl
extends java.lang.Object
implements ComponentDependency

Simple bean class that descibes the configuration of a ComponentDependency .

Author:
bramk

Constructor Summary
ComponentDependencyImpl()
           
 
Method Summary
 java.lang.String getAddedCallback()
          Returns the name of a method that should be invoke when an instance of this dependency comes available.
 java.lang.String getFilter()
          TODO refactor to a dictionary or add getFileterProperties? Returns the LDAP filter of the dependecy
 java.lang.String getInterfaceClassName()
          Returns the fully qualified classname of the dependecy
 java.lang.String getRemovedCallback()
          Returns the name of a method that should be invoke when an instance of this dependency comes unavailable.
 boolean isRequired()
          Returns wether this dependency is required or not
 void setAddedCallback(java.lang.String addedCallback)
           
 void setFilter(java.lang.String filter)
           
 void setRemovedCallback(java.lang.String removedCallback)
           
 void setRequired(boolean required)
           
 void setServiceName(java.lang.String serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDependencyImpl

public ComponentDependencyImpl()
Method Detail

getAddedCallback

public java.lang.String getAddedCallback()
Description copied from interface: ComponentDependency
Returns the name of a method that should be invoke when an instance of this dependency comes available. The component should implement a method with the following signature: public void (ServiceReference ref, Object inst)

Specified by:
getAddedCallback in interface ComponentDependency
Returns:
the methodname

setAddedCallback

public void setAddedCallback(java.lang.String addedCallback)

getInterfaceClassName

public java.lang.String getInterfaceClassName()
Description copied from interface: ComponentDependency
Returns the fully qualified classname of the dependecy

Specified by:
getInterfaceClassName in interface ComponentDependency
Returns:
the classname

setServiceName

public void setServiceName(java.lang.String serviceName)

getRemovedCallback

public java.lang.String getRemovedCallback()
Description copied from interface: ComponentDependency
Returns the name of a method that should be invoke when an instance of this dependency comes unavailable. The component should implement a method with the following signature: public void (ServiceReference ref, Object inst)

Specified by:
getRemovedCallback in interface ComponentDependency
Returns:
the methodname

setRemovedCallback

public void setRemovedCallback(java.lang.String removedCallback)

isRequired

public boolean isRequired()
Description copied from interface: ComponentDependency
Returns wether this dependency is required or not

Specified by:
isRequired in interface ComponentDependency
Returns:
boolean

setRequired

public void setRequired(boolean required)

getFilter

public java.lang.String getFilter()
Description copied from interface: ComponentDependency
TODO refactor to a dictionary or add getFileterProperties? Returns the LDAP filter of the dependecy

Specified by:
getFilter in interface ComponentDependency
Returns:
the filter

setFilter

public void setFilter(java.lang.String filter)


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.