类 ExternRegistry
java.lang.Object
pkg.exoad.poprock.core.registry.BaseRegistry
pkg.exoad.poprock.core.registry.ExternRegistry
- 所有已实现的接口:
ITypeInferencing<Collection<Class<? extends RegistryEntry>>>
,NamedObjMixin
External Registry
This is a registry that is implemented by a third party or can be implemented by a third party. It should barely be used as the options provided by the standard registry services should suffice.- 作者:
- Jack Meng
-
字段概要
从接口继承的字段 pkg.exoad.poprock.core.mixins.NamedObjMixin
OBJECTS
-
构造器概要
-
方法概要
修饰符和类型方法说明protected RegistryEntry
acquireEntry
(String name) Returns the internal representation of a leaf.protected void
An internal iterable instance (should not be exposed by reflection)Optional<Collection<Class<? extends RegistryEntry>>>
The class may or may not return a valid type inferencing due to internal reasons, so anOptional
is returned.void
registerEntry
(String name, RegistryEntry entry) This method is the main entry into "putting" a leaf into a registry.从类继承的方法 pkg.exoad.poprock.core.registry.BaseRegistry
acquireEntryCanonicalName, acquireEntryValue
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 pkg.exoad.poprock.core.mixins.NamedObjMixin
getObjectName, setObjectName, withObjectName
-
构造器详细资料
-
ExternRegistry
public ExternRegistry()
-
-
方法详细资料
-
registerEntry
从类复制的说明:BaseRegistry
This method is the main entry into "putting" a leaf into a registry. It acts similar to the registration process used byEventPoolService
.- 指定者:
registerEntry
在类中BaseRegistry
- 参数:
name
- The name of the leafentry
- The base modal of the leaf (property)- 另请参阅:
-
acquireEntry
从类复制的说明:BaseRegistry
Returns the internal representation of a leaf.Note that this method must handle an invalid name
- 指定者:
acquireEntry
在类中BaseRegistry
- 参数:
name
- The name of the leaf to look up- 返回:
- The RegistryEntry
-
inferTyping
从接口复制的说明:ITypeInferencing
The class may or may not return a valid type inferencing due to internal reasons, so anOptional
is returned.- 指定者:
inferTyping
在接口中ITypeInferencing<Collection<Class<? extends RegistryEntry>>>
- 覆盖:
inferTyping
在类中BaseRegistry
- 返回:
- The typing inferred from the internal representation of the class
-
forEach
从类复制的说明:BaseRegistry
An internal iterable instance (should not be exposed by reflection)- 指定者:
forEach
在类中BaseRegistry
- 参数:
e
- Consumer
-