|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.digitalmuseum.mr.Matereal
public final class Matereal
入れ子のクラスの概要 | |
---|---|
class |
Matereal.Canceller
|
フィールドの概要 | |
---|---|
static int |
DEFAULT_NUM_THREADS
|
static java.lang.String |
LIBRARY_NAME
|
メソッドの概要 | ||
---|---|---|
void |
addEventListener(EventListener listener)
Add an event listener. |
|
void |
dispose()
Stop all services and prepare for shutting down Matereal. |
|
void |
disposeDebugFrame()
|
|
void |
eventOccurred(Event e)
|
|
javax.swing.JFrame |
getDebugFrame()
|
|
java.awt.Font |
getDefaultFont()
|
|
java.util.Set<Entity> |
getEntities()
Get a set of entities. |
|
java.io.PrintStream |
getErrorStream()
|
|
static Matereal |
getInstance()
Get the singleton instance of Matereal. |
|
java.lang.String |
getName()
|
|
java.io.PrintStream |
getOutStream()
|
|
java.util.Set<ServiceGroup> |
getServiceGroups()
Get a set of service groups. |
|
java.util.List<Service> |
getServices()
Get a list of services. |
|
java.util.Set<Workflow> |
getWorkflows()
Get a list of workflow graphs. |
|
void |
hideDebugFrame()
|
|
protected boolean |
invokeAndWait(java.lang.Runnable runnable)
|
|
protected void |
invokeLater(java.lang.Runnable runnable)
|
|
boolean |
isDisposing()
|
|
|
lookForEntities(java.lang.Class<T> classObject)
Look for entities with specific class managed by matereal. |
|
|
lookForService(java.lang.Class<T> classObject)
Look for a service with specific class/interface. |
|
|
lookForService(java.lang.Class<T> classObject,
java.lang.Iterable<Service> serviceIterator)
Look for a service with specific class/interface in a service group. |
|
|
lookForServices(java.lang.Class<T> classObject)
Look for services with specific class/interface. |
|
|
lookForServices(java.lang.Class<T> classObject,
java.lang.Iterable<Service> serviceIterator)
Look for services with specific class/interface in a service group. |
|
static void |
main(java.lang.String[] args)
|
|
void |
registerEntity(Entity entity)
Called by Entity constructor. |
|
void |
registerService(Service service)
Called by Service#initialize() . |
|
void |
registerWorkflow(Workflow workflow)
Called by Workflow constructor. |
|
boolean |
removeEventListener(EventListener listener)
Remove an event listener. |
|
Matereal.Canceller |
scheduleAtFixedRate(java.lang.Runnable runnable,
long interval)
|
|
void |
setErrorStream(java.io.PrintStream err)
|
|
void |
setOutStream(java.io.PrintStream out)
|
|
void |
showDebugFrame()
|
|
java.util.concurrent.Future<?> |
submit(java.lang.Runnable task)
|
|
java.lang.String |
toString()
|
|
boolean |
unregisterEntity(Entity entity)
Called by Entity.dispose(). |
|
boolean |
unregisterService(Service service)
Called by Service.dispose() . |
|
boolean |
unregisterWorkflow(Workflow workflow)
Called by Workflow.dispose() . |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
public static final java.lang.String LIBRARY_NAME
public static int DEFAULT_NUM_THREADS
メソッドの詳細 |
---|
public static void main(java.lang.String[] args)
public static Matereal getInstance()
public java.io.PrintStream getOutStream()
public void setOutStream(java.io.PrintStream out)
public java.io.PrintStream getErrorStream()
public void setErrorStream(java.io.PrintStream err)
public javax.swing.JFrame getDebugFrame()
public void disposeDebugFrame()
public void showDebugFrame()
public void hideDebugFrame()
protected void invokeLater(java.lang.Runnable runnable)
protected boolean invokeAndWait(java.lang.Runnable runnable)
public java.lang.String getName()
public boolean isDisposing()
public void dispose()
public void registerEntity(Entity entity)
entity
- Entity
public boolean unregisterEntity(Entity entity)
entity
-
public void registerService(Service service)
Service#initialize()
.
service
- public boolean unregisterService(Service service)
Service.dispose()
.
service
-
public void registerWorkflow(Workflow workflow)
Workflow
constructor.
workflow
- Workflow
public boolean unregisterWorkflow(Workflow workflow)
Workflow.dispose()
.
workflow
-
public java.util.Set<Entity> getEntities()
public java.util.List<Service> getServices()
public java.util.Set<ServiceGroup> getServiceGroups()
public java.util.Set<Workflow> getWorkflows()
public <T extends Entity> java.util.Set<T> lookForEntities(java.lang.Class<T> classObject)
T
- Class to look for.classObject
- Class object of the class public <T extends Service> java.util.Set<T> lookForServices(java.lang.Class<T> classObject)
T
- Class to look for.classObject
- Class object of the class ServiceGroup
public <T extends Service> T lookForService(java.lang.Class<T> classObject)
T
- Class to look for.classObject
- Class object of the class ServiceGroup
public <T extends Service> java.util.Set<T> lookForServices(java.lang.Class<T> classObject, java.lang.Iterable<Service> serviceIterator)
T
- Class to look for.classObject
- Class object of the class serviceIterator
- Iterator to look in.
lookForServices(Class)
public <T extends Service> T lookForService(java.lang.Class<T> classObject, java.lang.Iterable<Service> serviceIterator)
T
- Class to look for.classObject
- Class object of the class serviceIterator
- Iterator to look in.
lookForService(Class)
public java.util.concurrent.Future<?> submit(java.lang.Runnable task)
public Matereal.Canceller scheduleAtFixedRate(java.lang.Runnable runnable, long interval)
public void addEventListener(EventListener listener)
EventProvider
内の addEventListener
EventProvider.removeEventListener(EventListener)
public boolean removeEventListener(EventListener listener)
EventProvider
内の removeEventListener
EventProvider.addEventListener(EventListener)
public void eventOccurred(Event e)
EventListener
内の eventOccurred
public java.awt.Font getDefaultFont()
public java.lang.String toString()
java.lang.Object
内の toString
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |