org.qi4j.library.uowfile.singular
Class HasUoWFileLifecycle.Mixin

java.lang.Object
  extended by org.qi4j.library.uowfile.singular.HasUoWFileLifecycle.Mixin
All Implemented Interfaces:
Lifecycle
Enclosing interface:
HasUoWFileLifecycle

public static class HasUoWFileLifecycle.Mixin
extends java.lang.Object
implements Lifecycle


Constructor Summary
HasUoWFileLifecycle.Mixin()
           
 
Method Summary
 void create()
          Creation callback method.
 void remove()
          Removal callback method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasUoWFileLifecycle.Mixin

public HasUoWFileLifecycle.Mixin()
Method Detail

create

public void create()
            throws LifecycleException
Description copied from interface: Lifecycle
Creation callback method.

Called by the Qi4j runtime before the newInstance of the entity completes, before the constraints are checked, allowing for additional initialization.

Specified by:
create in interface Lifecycle
Throws:
LifecycleException - if the entity could not be created

remove

public void remove()
            throws LifecycleException
Description copied from interface: Lifecycle
Removal callback method.

Called by the Qi4j runtime before the entity is removed from the system, allowing for clean-up operations.

Specified by:
remove in interface Lifecycle
Throws:
LifecycleException - if the entity could not be removed