Package com.sun.enterprise.admin.util
Class RemoteInstanceCommandHelper
java.lang.Object
com.sun.enterprise.admin.util.RemoteInstanceCommandHelper
- Author:
- Byron Nevins Implementation Note: Ideally this class would be extended by AdminCommand's that need these services. The problem is getting the values out of the habitat. The ctor call would be TOO EARLY in the derived classes. The values are injected AFTER construction. We can't easily inject here -- because we don't want this class to be a Service. We could do it by having the derived class call a set method in here but that gets very messy as we have to make sure we are in a valid state for every single method call.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetAdminPort(com.sun.enterprise.config.serverbeans.Server server) final intgetAdminPort(String serverName) final Stringfinal StringgetNode(com.sun.enterprise.config.serverbeans.Server server) final com.sun.enterprise.config.serverbeans.Server
-
Constructor Details
-
RemoteInstanceCommandHelper
public RemoteInstanceCommandHelper(org.glassfish.hk2.api.ServiceLocator habitatIn)
-
-
Method Details
-
getHost
-
getServer
-
getNode
-
getAdminPort
-
getAdminPort
public final int getAdminPort(com.sun.enterprise.config.serverbeans.Server server)
-