link start!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface DependencyInfo {
|
||||
Version getBajaVersion();
|
||||
|
||||
ModuleInfo getModuleInfo();
|
||||
|
||||
String getModuleName();
|
||||
|
||||
String getVendor();
|
||||
|
||||
Version getVendorVersion();
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.sys.BAbsTime;
|
||||
|
||||
public interface LexiconInfo {
|
||||
String getBrandPattern();
|
||||
|
||||
String getContainerModuleName();
|
||||
|
||||
String getLanguage();
|
||||
|
||||
BAbsTime getLastModified();
|
||||
|
||||
String getModuleName();
|
||||
|
||||
String getResourcePath();
|
||||
|
||||
boolean isDefault();
|
||||
|
||||
void setLastModified(long j);
|
||||
|
||||
void setLastModified(BAbsTime bAbsTime);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface ModuleInfo {
|
||||
Version getBajaVersion();
|
||||
|
||||
DependencyInfo[] getDependencies();
|
||||
|
||||
String getDescription();
|
||||
|
||||
String getModuleName();
|
||||
|
||||
TypeInfo[] getTypes();
|
||||
|
||||
String getVendor();
|
||||
|
||||
Version getVendorVersion();
|
||||
|
||||
boolean isTransient();
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.agent.AgentInfo;
|
||||
import javax.baja.agent.AgentList;
|
||||
import javax.baja.naming.UnknownSchemeException;
|
||||
import javax.baja.sys.BAbsTime;
|
||||
import javax.baja.sys.BModule;
|
||||
import javax.baja.sys.ModuleNotFoundException;
|
||||
import javax.baja.sys.Type;
|
||||
import javax.baja.sys.TypeNotFoundException;
|
||||
import javax.baja.util.BTypeSpec;
|
||||
import javax.baja.util.Version;
|
||||
|
||||
public interface Registry {
|
||||
TypeInfo[] getAdapters(TypeInfo typeInfo, TypeInfo typeInfo2);
|
||||
|
||||
AgentList getAgents(TypeInfo typeInfo);
|
||||
|
||||
TypeInfo[] getConcreteTypes(TypeInfo typeInfo);
|
||||
|
||||
String getDef(String str);
|
||||
|
||||
String getDef(String str, String str2);
|
||||
|
||||
String[] getDefs();
|
||||
|
||||
String[] getDefs(String str);
|
||||
|
||||
String[] getFileExtensions();
|
||||
|
||||
String[] getFileExtensions(TypeInfo typeInfo);
|
||||
|
||||
TypeInfo getFileTypeForExtension(String str);
|
||||
|
||||
BAbsTime getLastBuildTime();
|
||||
|
||||
LexiconInfo getLexicon(String str, String str2, String str3);
|
||||
|
||||
LexiconInfo[] getLexicons();
|
||||
|
||||
LexiconInfo[] getLexicons(String str);
|
||||
|
||||
LexiconInfo[] getLexicons(String str, String str2);
|
||||
|
||||
ModuleInfo getModule(String str) throws ModuleNotFoundException;
|
||||
|
||||
ModuleInfo[] getModules();
|
||||
|
||||
TypeInfo getOrdScheme(String str) throws UnknownSchemeException;
|
||||
|
||||
String[] getOrdSchemes();
|
||||
|
||||
AgentList getSpecificAgents(TypeInfo typeInfo);
|
||||
|
||||
TypeInfo getType(String str) throws TypeNotFoundException;
|
||||
|
||||
TypeInfo[] getTypes();
|
||||
|
||||
TypeInfo[] getTypes(TypeInfo typeInfo);
|
||||
|
||||
boolean isAgent(TypeInfo typeInfo, TypeInfo typeInfo2);
|
||||
|
||||
boolean isOrdScheme(String str);
|
||||
|
||||
boolean isSpecificAgent(TypeInfo typeInfo, TypeInfo typeInfo2);
|
||||
|
||||
BModule synthesizeModule(String str, Version version, String str2, Version version2, String str3);
|
||||
|
||||
Type synthesizeType(BTypeSpec bTypeSpec, String str, TypeInfo typeInfo, TypeInfo[] typeInfoArr, AgentInfo[] agentInfoArr, boolean z, boolean z2);
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package javax.baja.registry;
|
||||
|
||||
import javax.baja.agent.AgentInfo;
|
||||
import javax.baja.agent.AgentList;
|
||||
import javax.baja.sys.BIcon;
|
||||
import javax.baja.sys.BObject;
|
||||
import javax.baja.sys.Context;
|
||||
import javax.baja.sys.Type;
|
||||
import javax.baja.util.BTypeSpec;
|
||||
import javax.baja.util.Lexicon;
|
||||
|
||||
public interface TypeInfo {
|
||||
AgentInfo getAgentInfo();
|
||||
|
||||
AgentList getAgents();
|
||||
|
||||
String getDisplayName(Context context);
|
||||
|
||||
BIcon getIcon(Context context);
|
||||
|
||||
BObject getInstance();
|
||||
|
||||
TypeInfo[] getInterfaces();
|
||||
|
||||
Lexicon getLexicon(Context context);
|
||||
|
||||
String getModuleName();
|
||||
|
||||
TypeInfo getSuperType();
|
||||
|
||||
String getTypeClassName();
|
||||
|
||||
String getTypeName();
|
||||
|
||||
BTypeSpec getTypeSpec();
|
||||
|
||||
boolean is(TypeInfo typeInfo);
|
||||
|
||||
boolean is(Type type);
|
||||
|
||||
boolean isAbstract();
|
||||
|
||||
boolean isFinal();
|
||||
|
||||
boolean isInterface();
|
||||
|
||||
boolean isTransient();
|
||||
|
||||
String toString();
|
||||
}
|
||||
Reference in New Issue
Block a user