Package | Description |
---|---|
sk.stuba.fiit.perconik.activity.data.core | |
sk.stuba.fiit.perconik.core |
Base interfaces and classes of the core listener and resource model.
|
sk.stuba.fiit.perconik.core.debug | |
sk.stuba.fiit.perconik.core.debug.resources | |
sk.stuba.fiit.perconik.core.debug.services.listeners | |
sk.stuba.fiit.perconik.core.debug.services.resources | |
sk.stuba.fiit.perconik.core.persistence |
Base interfaces and classes of the core persistence model.
|
sk.stuba.fiit.perconik.core.persistence.data |
Standard implementations of the core persistence model.
|
sk.stuba.fiit.perconik.core.persistence.serialization |
Interfaces for Java serialization in the core persistence model.
|
sk.stuba.fiit.perconik.core.resources |
Resources for listeners supported by the default core implementation.
|
sk.stuba.fiit.perconik.core.services.listeners |
Interfaces and reference implementations of core listener service and its
components.
|
sk.stuba.fiit.perconik.core.services.resources |
Interfaces and reference implementations of core resource service and its
components.
|
Modifier and Type | Method and Description |
---|---|
static ResourceData |
ResourceData.of(Resource<?> resource) |
Constructor and Description |
---|
ResourceData(Resource<?> resource) |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingResource<L extends Listener>
A resource which forwards all its method calls to another resource.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Resource<L> |
ForwardingResource.delegate() |
static Resource<?> |
Resources.forName(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static <L extends Listener> |
Resources.assignable(java.lang.Class<L> type) |
static <L extends Listener> |
Resources.forType(java.lang.Class<L> type) |
static <L extends Listener> |
Resources.registrable(java.lang.Class<L> type) |
static com.google.common.collect.SetMultimap<Resource<?>,Listener> |
Listeners.registrations() |
static com.google.common.collect.SetMultimap<java.lang.Class<? extends Listener>,Resource<?>> |
Resources.registrations() |
static <L extends Listener> |
Resources.toResourceNameMap(java.util.Set<Resource<L>> resources) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Resources.isRegistered(java.lang.Class<? extends Listener> type,
Resource<?> resource) |
static <L extends Listener> |
Resources.register(java.lang.Class<L> type,
Resource<? super L> resource) |
static <L extends Listener> |
Resources.unregister(java.lang.Class<L> type,
Resource<? super L> resource) |
Modifier and Type | Method and Description |
---|---|
static <L extends Listener> |
Resources.registerAll(java.lang.Class<L> type,
java.lang.Iterable<Resource<? super L>> resources) |
static <L extends Listener> |
Resources.toResourceNameMap(java.util.Set<Resource<L>> resources) |
Modifier and Type | Interface and Description |
---|---|
interface |
DebugResource<L extends Listener> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDebugResource<L extends Listener> |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
DebugResources.toString(Resource<?> resource) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
DebugResources.toString(java.lang.Class<? extends Resource<?>> type) |
Modifier and Type | Class and Description |
---|---|
class |
DebugListenerPool |
class |
DebugResourceProxy<L extends Listener> |
Modifier and Type | Method and Description |
---|---|
Resource<L> |
DebugResourceProxy.delegate() |
static <L extends Listener> |
DebugResourceProxy.unwrap(Resource<L> resource) |
Modifier and Type | Method and Description |
---|---|
static <L extends Listener> |
DebugResourceProxy.unwrap(Resource<L> resource) |
static <L extends Listener> |
DebugResourceProxy.wrap(Resource<L> resource) |
static <L extends Listener> |
DebugResourceProxy.wrap(Resource<L> resource,
DebugConsole console) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.SetMultimap<Resource<?>,Listener> |
DebugListenerManagerProxy.registrations() |
Modifier and Type | Method and Description |
---|---|
Resource<?> |
DebugResourceProviderProxy.forName(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
<L extends Listener> |
DebugResourceManagerProxy.assignables(java.lang.Class<L> type) |
<L extends Listener> |
DebugResourceProviderProxy.forType(java.lang.Class<L> type) |
<L extends Listener> |
DebugResourceManagerProxy.registrables(java.lang.Class<L> type) |
com.google.common.collect.SetMultimap<java.lang.Class<? extends Listener>,Resource<?>> |
DebugResourceManagerProxy.registrations() |
Modifier and Type | Method and Description |
---|---|
<L extends Listener> |
DebugResourceManagerProxy.register(java.lang.Class<L> type,
Resource<? super L> resource) |
boolean |
DebugResourceManagerProxy.registered(java.lang.Class<? extends Listener> type,
Resource<?> resource) |
<L extends Listener> |
DebugResourceManagerProxy.unregister(java.lang.Class<L> type,
Resource<? super L> resource) |
Modifier and Type | Method and Description |
---|---|
Resource<?> |
ResourceRegistration.getResource()
Returns the underlying resource.
|
Modifier and Type | Method and Description |
---|---|
Resource<?> |
ResourcePersistenceData.getResource() |
Resource<?> |
LiveResourceRegistration.getResource() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<Resource<?>> |
ResourcePersistenceData.getSerializedResource() |
Modifier and Type | Method and Description |
---|---|
static <L extends Listener> |
ResourcePersistenceData.of(java.lang.Class<L> type,
Resource<? super L> resource) |
static <L extends Listener> |
LiveResourceRegistration.of(java.lang.Class<L> type,
Resource<? super L> resource) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<Resource<?>> |
SerializedResourceData.getSerializedResource()
Gets the serialized resource if available.
|
Modifier and Type | Method and Description |
---|---|
static <L extends Listener> |
DefaultResources.registerTo(Resource<L> resource,
L listener) |
static <L extends Listener> |
DefaultResources.unregisterFrom(Resource<L> resource,
L listener) |
Modifier and Type | Method and Description |
---|---|
static <L extends Listener> |
DefaultResources.registerTo(java.lang.Iterable<Resource<? super L>> resources,
L listener) |
static <L extends Listener> |
DefaultResources.unregisterFrom(java.lang.Iterable<Resource<? super L>> resources,
L listener) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.SetMultimap<Resource<?>,Listener> |
ListenerManager.registrations()
Returns a set multimap of resources to all registered listeners.
|
com.google.common.collect.SetMultimap<Resource<?>,Listener> |
ForwardingListenerManager.registrations() |
Modifier and Type | Method and Description |
---|---|
Resource<?> |
ResourceProvider.forName(java.lang.String name)
Returns a resource with the specified name.
|
Resource<?> |
ForwardingResourceProvider.forName(java.lang.String name) |
protected Resource<?> |
AbstractResourceProvider.parentForName(java.lang.String name,
java.lang.Exception cause) |
Modifier and Type | Method and Description |
---|---|
<L extends Listener> |
ResourceManager.assignables(java.lang.Class<L> type)
Returns a set of resources assignable to the specified listener type.
|
<L extends Listener> |
ForwardingResourceManager.assignables(java.lang.Class<L> type) |
<L extends Listener> |
ResourceProvider.forType(java.lang.Class<L> type)
Returns a set of resources supporting the specified listener type.
|
<L extends Listener> |
ForwardingResourceProvider.forType(java.lang.Class<L> type) |
protected <L extends Listener> |
AbstractResourceProvider.parentForType(java.lang.Class<L> type,
java.lang.Exception cause) |
<L extends Listener> |
ResourceManager.registrables(java.lang.Class<L> type)
Returns a set of resources registrable with the specified listener type.
|
<L extends Listener> |
ForwardingResourceManager.registrables(java.lang.Class<L> type) |
com.google.common.collect.SetMultimap<java.lang.Class<? extends Listener>,Resource<?>> |
ResourceManager.registrations()
Returns a set multimap of listener types to all registered resources.
|
com.google.common.collect.SetMultimap<java.lang.Class<? extends Listener>,Resource<?>> |
ForwardingResourceManager.registrations() |
protected abstract com.google.common.collect.SetMultimap<java.lang.Class<? extends Listener>,Resource<?>> |
AbstractResourceManager.typeToResources() |
Modifier and Type | Method and Description |
---|---|
<L extends Listener> |
ResourceProvider.Builder.add(java.lang.Class<L> type,
Resource<? super L> resource)
Adds resource implementation to the built resource provider.
|
protected static <L extends Listener> |
AbstractResourceManager.check(java.lang.Class<L> type,
Resource<? super L> resource) |
<L extends Listener> |
ResourceManager.register(java.lang.Class<L> type,
Resource<? super L> resource)
Registers a resource with the given listener type.
|
<L extends Listener> |
ForwardingResourceManager.register(java.lang.Class<L> type,
Resource<? super L> resource) |
<L extends Listener> |
AbstractResourceManager.register(java.lang.Class<L> type,
Resource<? super L> resource) |
boolean |
ResourceManager.registered(java.lang.Class<? extends Listener> type,
Resource<?> resource)
Determines whether the specified resource is registered
with the specified listener type by this resource manager.
|
<L extends Listener> |
ResourceManager.unregister(java.lang.Class<L> type,
Resource<? super L> resource)
Unregisters a resource with the given listener type.
|
<L extends Listener> |
ForwardingResourceManager.unregister(java.lang.Class<L> type,
Resource<? super L> resource) |
<L extends Listener> |
AbstractResourceManager.unregister(java.lang.Class<L> type,
Resource<? super L> resource) |