Package org.glassfish.internal.data
Class ApplicationRegistry
- java.lang.Object
-
- org.glassfish.internal.data.ApplicationRegistry
-
@Service @Singleton public class ApplicationRegistry extends Object
Registry for deployed Applications TODO : dochez this class needs to go, I think we should use the configured tree (applications) to store this list. This could be achieve once hk2 configured support Transient objects attachment.
-
-
Constructor Summary
Constructors Constructor Description ApplicationRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(String name, ApplicationInfo info)
void
addTransient(Deployment.ApplicationDeployment depl)
transient apps are deployed, but not initialized yetApplicationInfo
get(String name)
Set<String>
getAllApplicationNames()
Deployment.ApplicationDeployment
getTransient(String appName)
void
remove(String name)
void
removeTransient(String appName)
-
-
-
Method Detail
-
add
public void add(String name, ApplicationInfo info)
-
get
public ApplicationInfo get(String name)
-
remove
public void remove(String name)
-
addTransient
public void addTransient(Deployment.ApplicationDeployment depl)
transient apps are deployed, but not initialized yet- Parameters:
depl
-
-
removeTransient
public void removeTransient(String appName)
-
getTransient
public Deployment.ApplicationDeployment getTransient(String appName)
-
-