Class ClassAdministration
- java.lang.Object
-
- net.officefloor.plugin.administration.clazz.ClassAdministration
-
- All Implemented Interfaces:
Administration<java.lang.Object,Indexed,Indexed>
,AdministrationFactory<java.lang.Object,Indexed,Indexed>
public class ClassAdministration extends java.lang.Object implements AdministrationFactory<java.lang.Object,Indexed,Indexed>, Administration<java.lang.Object,Indexed,Indexed>
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ClassAdministration(ClassObjectFactory objectFactory, java.lang.reflect.Method administrationMethod, ClassDependencyFactory[] parameterFactories)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
administer(AdministrationContext<java.lang.Object,Indexed,Indexed> context)
Administers theManagedObject
instances.Administration<java.lang.Object,Indexed,Indexed>
createAdministration()
Creates theAdministration
.
-
-
-
Constructor Detail
-
ClassAdministration
public ClassAdministration(ClassObjectFactory objectFactory, java.lang.reflect.Method administrationMethod, ClassDependencyFactory[] parameterFactories)
Initiate.- Parameters:
objectFactory
-ClassObjectFactory
.administrationMethod
-Method
to invoke on theObject
for thisAdministration
.parameterFactories
-ClassDependencyFactory
instances.
-
-
Method Detail
-
createAdministration
public Administration<java.lang.Object,Indexed,Indexed> createAdministration() throws java.lang.Throwable
Description copied from interface:AdministrationFactory
Creates theAdministration
.- Specified by:
createAdministration
in interfaceAdministrationFactory<java.lang.Object,Indexed,Indexed>
- Returns:
Administration
.- Throws:
java.lang.Throwable
- If fails to createAdministration
.
-
administer
public void administer(AdministrationContext<java.lang.Object,Indexed,Indexed> context) throws java.lang.Throwable
Description copied from interface:Administration
Administers theManagedObject
instances.- Specified by:
administer
in interfaceAdministration<java.lang.Object,Indexed,Indexed>
- Parameters:
context
-AdministrationContext
.- Throws:
java.lang.Throwable
- If fails to do duty.
-
-