org.ow2.kerneos.common.config
Class ModuleFragmentEvent

java.lang.Object
  extended by org.ow2.kerneos.common.config.ModuleFragmentEvent
All Implemented Interfaces:
Serializable

public class ModuleFragmentEvent
extends Object
implements Serializable

Module Fragment event used for communicate the arrival/departure of a module fragment.

See Also:
Serialized Form

Field Summary
static String LOAD
          Load value.
static String UNLOAD
          Unload value.
 
Constructor Summary
ModuleFragmentEvent()
          Create an empty module event.
ModuleFragmentEvent(ModuleFragment moduleFragment, String eventType)
          Create a module event.
 
Method Summary
 String getEventType()
          Get the type of event.
 ModuleFragment getModuleFragment()
          Get the instance of module fragment associated with the event.
 void setEventType(String type)
          Set the type of event.
 void setModuleFragment(ModuleFragment moduleFragment)
          Set the instance of module fragment associated with the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOAD

public static final String LOAD
Load value.

See Also:
Constant Field Values

UNLOAD

public static final String UNLOAD
Unload value.

See Also:
Constant Field Values
Constructor Detail

ModuleFragmentEvent

public ModuleFragmentEvent()
Create an empty module event.


ModuleFragmentEvent

public ModuleFragmentEvent(ModuleFragment moduleFragment,
                           String eventType)
Create a module event.

Parameters:
moduleFragment - is an instance of module fragment associated with the event.
eventType - is the type of event associated with the module.
Method Detail

getEventType

public String getEventType()
Get the type of event.

Returns:
the eventType.

getModuleFragment

public ModuleFragment getModuleFragment()
Get the instance of module fragment associated with the event.

Returns:
the instance of module

setModuleFragment

public void setModuleFragment(ModuleFragment moduleFragment)
Set the instance of module fragment associated with the event.

Parameters:
moduleFragment - is an instance of module fragment associated with the event.

setEventType

public void setEventType(String type)
Set the type of event.

Parameters:
type - is the type of event.


Copyright © 2013 OW2 Consortium. All Rights Reserved.