Package com.sun.enterprise.config

Examples of com.sun.enterprise.config.ConfigBean


   
   
    public void preOrder(ConfigBean configBean) {
            if(configBean != null) {
                check(configBean);
                ConfigBean configBean1[] = configBean.getAllChildBeans();
                if(configBean1 != null) {
                    for(int j=0;j<configBean1.length;j++)  {
                           if(configBean1[j] != null)
                                preOrder(configBean1[j]);
                    }
View Full Code Here


    }
   
    private void checkLazyConnectionProps(ValidationContext valCtx)
    {
        Map map;
        ConfigBean targetBean = valCtx.getTargetBean();
        if(targetBean==null)
            return;
        if(targetBean instanceof ElementProperty)
            map = PropertyHelper.getFuturePropertiesMap(valCtx);
        else
View Full Code Here

        final Map values = getAttributeValues(attribute_list,
                                new String[]{NAME, ENABLED});
        final String name = (String)values.get(NAME);

  ConfigContext ctx = getConfigContext();
  ConfigBean app = ApplicationHelper.findApplication(ctx, name);
  if ( (app!=null) && !(app instanceof LifecycleModule) ) {

    throw new ConfigException(localStrings.getString(
        "admin.mbeans.acmb.duplicateLCMName", name));
  }
View Full Code Here

    }

    private void doPersistenceCheck(MBeanNamingInfo info, ConfigContext ctx)
        throws MBeanException
    {
        ConfigBean cb = null;
        try
        {
            final String xpath = info.getXPath();
            cb = ConfigBeansFactory.getConfigBeanByXPath(ctx, xpath);
            if (null == cb)
View Full Code Here

        String ctxRoot = null;
        String appName = null;
        String epName = null;
        String vs  = WebServiceMgrBackEnd.DEFAULT_VIRTUAL_SERVER;

        ConfigBean parent = (ConfigBean) ep.parent();
        if (parent instanceof J2eeApplication) {
            isStandAlone = false;
            appName = appId;
            modName =
            WebServiceMgrBackEnd.getManager().getModuleName(ep.getName());
View Full Code Here

     */
    public void handleDelete(WebServiceEndpointEvent event)
             throws AdminEventListenerException {

        try {
            ConfigBean bean = getWSEPBean(event, true);
            if (bean instanceof WebServiceEndpoint) {
                WebServiceEndpoint wsep = (WebServiceEndpoint) bean;
                String epName = wsep.getName();
                String appId = getApplicationId(wsep);

View Full Code Here

    public void handleUpdate(WebServiceEndpointEvent event)
             throws AdminEventListenerException {

        try {
            // set message in history size
            ConfigBean bean = getWSEPBean(event, false);
            if (bean instanceof WebServiceEndpoint) {
                WebServiceEndpoint wsep = (WebServiceEndpoint) bean;
                WebServiceEndpoint oWsep =
                    (WebServiceEndpoint) getWSEPBean(event, true);
View Full Code Here

     */
    public void handleCreate(WebServiceEndpointEvent event)
             throws AdminEventListenerException {

        try {
            ConfigBean bean = getWSEPBean(event, false);
            if (bean instanceof WebServiceEndpoint) {
                WebServiceEndpoint wsep = (WebServiceEndpoint) bean;
                int historySize = 25;
                String epName = wsep.getName();
                String appId = getApplicationId(wsep);
View Full Code Here

        if (event == null) {
            throw new IllegalArgumentException();
        }

        ConfigBean bean = null;
        ConfigContext ctx = null;
        String xpath = event.getElementXPath();
        if (old) {
            ctx = event.getOldConfigContext();
        } else {
View Full Code Here

     */
    private String getApplicationId(WebServiceEndpoint bean) {
        String name = null;

        if (bean != null) {
            ConfigBean parent = (ConfigBean) bean.parent();
            if (parent instanceof J2eeApplication) {
                J2eeApplication app = (J2eeApplication) parent;
                name = app.getName();
            } else if (parent instanceof WebModule) {
                WebModule wm = (WebModule) parent;
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.ConfigBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.