Examples of type()


Examples of org.nutz.mvc.annotation.ChainBy.type()

  }

  private ActionChainMaker createChainMaker(NutConfig config, Class<?> mainModule) {
    ChainBy ann = mainModule.getAnnotation(ChainBy.class);
    ActionChainMaker maker = null == ann ? new NutActionChainMaker(new String[]{})
                      : Loadings.evalObj(config, ann.type(), ann.args());
    if (log.isDebugEnabled())
      log.debugf("@ChainBy(%s)", maker.getClass().getName());
    return maker;
  }
View Full Code Here

Examples of org.nutz.mvc.annotation.IocBy.type()

  private void createIoc(NutConfig config, Class<?> mainModule) throws Exception {
    IocBy ib = mainModule.getAnnotation(IocBy.class);
    if (null != ib) {
      if (log.isDebugEnabled())
        log.debugf("@IocBy(%s)", ib.type().getName());

      Ioc ioc = Mirror.me(ib.type()).born().create(config, ib.args());
      // 如果是 Ioc2 的实现,增加新的 ValueMaker
      if (ioc instanceof Ioc2) {
        ((Ioc2) ioc).addValueProxyMaker(new ServletValueProxyMaker(config.getServletContext()));
View Full Code Here

Examples of org.nutz.mvc.annotation.Localization.type()

    Localization lc = mainModule.getAnnotation(Localization.class);
    if (null != lc) {
      if (log.isDebugEnabled())
        log.debugf("Localization message: '%s'", lc.value());

      Map<String, Map<String, Object>> msgss = Mirror.me(lc.type()).born().load(lc.value());
      config.setAttributeIgnoreNull(Localization.class.getName(), msgss);
    } else if (log.isDebugEnabled()) {
      log.debug("!!!Can not find localization message resource");
    }
  }
View Full Code Here

Examples of org.objectweb.speedo.metadata.SpeedoField.type()

                    + "' found for the" + sf.getSourceDesc());
    }
    SpeedoMap sm = (SpeedoMap) sf.jdoTuple;
    if (sm.keyType != null && ((String) sm.keyType).length() > 0) {
      //check the key field type and the
      if (keyfield.type().equalsIgnoreCase((String) sm.keyType)) {
                throw new SpeedoException("Bad type for the key field '" + se.value
                        + "' found for the" + sf.getSourceDesc());
      }
    } else {
      //specify the map key type from the keyField type
View Full Code Here

Examples of org.omg.CORBA.Any.type()

        Exception ex = request.env().exception();
        if (ex != null) {
            if (ex instanceof UnknownUserException) {
                UnknownUserException userEx = (UnknownUserException) ex;
                Any except = userEx.except;
                RaisesType raises = exceptions.get(except.type());
                if (raises == null) {
                    throw new CorbaBindingException("Couldn't find the exception type code to unmarshall");
                }
                QName elName = new QName("", raises.getException().getLocalPart());
                CorbaObjectHandler handler =
View Full Code Here

Examples of org.omg.CORBA.IDLType.type()

        }

        try
        {
            IDLType idlType = IDLTypeHelper.narrow((org.omg.CORBA.Object)irobj);
            typeCode = idlType.type();

            // mithilfe des TypeCodes könnten wir uns bei IDLTypes eigentlich ein
            // paar Remote Method Invocations sparen (es steckt einiges schon im TypeCode);
            // außerdem ließe sich vielleicht der Code zum Auslesen
            // der members bei struct etc. vereinfachen.
View Full Code Here

Examples of org.omg.DynamicAny.DynAny.type()

            _dynAny.seek(index);
            _cursor = _dynAny.current_component();

            if (logger_.isDebugEnabled())
            {
                logger_.debug("evaluation result is of type: " + _cursor.type());
            }

            return _cursor.to_any();
        } catch (TypeMismatch e)
        {
View Full Code Here

Examples of org.omg.DynamicAny.DynUnion.type()

        _dynUnion.seek(0);

        if (logger_.isDebugEnabled())
        {
            logger_.debug("extract idx: " + position + " from Union " + _dynUnion.type());
        }

        String _discrimName = getUnionMemberNameFromDiscriminator(value.type(), position);

        return evaluateIdentifier(_dynUnion, _discrimName);
View Full Code Here

Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption.type()

        applicationContext.refresh();
    }

    public static MavenArtifactProvisionOption getFeaturesUrl(String groupId, String artifactId, String version) {
        MavenArtifactProvisionOption mapo =  mavenBundle().groupId(groupId).artifactId(artifactId);
        mapo.type("xml");
        mapo.classifier("features");

        if (version == null) {
            mapo.versionAsInProject();
        } else {
View Full Code Here

Examples of org.qdao.annotation.Column.type()

        cd.decimal = co.decimal();
        cd.description = co.description();
        cd.name = co.name();
        cd.length = co.length();
        cd.nullable = co.nullable();
        cd.type = co.type();
        cd.javaField = fields[i].getName();
        cd.primaryKey = null != pk;
        cd.autoIncrement = co.autoIncrement();
        cd.defaultValue = co.defaultValue();
        columnDescriptors.add(cd);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.